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

auth0 flows update

Update a flow.

Passing --actions-file replaces the flow’s actions graph; the file must contain only the actions body, not a name. Passing --name renames the flow; omit it to keep the current name.

Use ‘–schema’ to print the request payload schema and exit. Use ‘–data’ to supply the JSON payload (validated against the schema before sending).

Usage

auth0 flows update [flags]

Examples

  auth0 flows update <flow-id> --name "New Name"
  auth0 flows update <flow-id> --actions-file ./action.json

  # Discover the payload schema
  auth0 flows update --schema
  auth0 flows update --schema --json

  # JSON input mode (for agents and automation)
  auth0 flows update <flow-id> --data '{"name":"New Name"}'
  auth0 flows update <flow-id> --data @flow.json

Flags

  -f, --actions-file string   Path to a JSON file containing the flow actions body. Run with --actions-template to see the expected format.
      --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.
      --name string           Name of the Flow.
      --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.