Skip to main content Link Menu Expand (external link) Document Search Copy Copied

auth0 forms update

Update a form.

Passing --data as inline JSON, a file (@form.json), or piped stdin replaces every top-level field present in the payload. The payload is checked for valid JSON before it is sent, and the form graph itself is validated by the API. Passing only scalar flags such as --name performs a merge that preserves the form’s graph fields (nodes, style, translations). Server-managed fields such as id, created_at, and updated_at are removed before the update request is sent.

--data provides the whole payload and cannot be combined with --name or the --language-* flags. Run auth0 forms update --schema to print the accepted payload schema.

Usage

auth0 forms update [flags]

Examples

  auth0 forms update <form-id> --name "New Name"
  auth0 forms update <form-id> --schema
  auth0 forms update <form-id> --data '{"name":"New Name"}'
  auth0 forms update <form-id> --data @form.json
  cat form.json | auth0 forms update <form-id>

Flags

      --data string               JSON payload for the operation, as a JSON string or file path (@file.json). Can also be piped via stdin.
      --json                      Output in json format.
      --json-compact              Output in compact json format.
      --language-default string   Default language of the Form (e.g. en).
      --language-primary string   Primary language of the Form (e.g. en).
      --name string               Name of the Form.
      --schema                    Print the request payload schema for this command and exit. Use with --json or --json-compact for machine-readable output.

Inherited Flags

      --agent-mode      Output JSON, disable prompts and colors. Auto-enabled for AI agents; set AUTH0_AGENT_MODE=false to disable.
      --debug           Enable debug mode.
      --no-color        Disable colors.
      --no-input        Disable interactivity.
      --tenant string   Specific tenant to use.