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

auth0 experimentation feature-flags variations update

Update a variation.

To update interactively, use auth0 experimentation feature-flags variations update with no arguments.

To update non-interactively, supply the IDs and fields to change through the flags.

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

Usage

auth0 experimentation feature-flags variations update [flags]

Examples

  auth0 experimentation feature-flags variations update
  auth0 experimentation feature-flags variations update <feature-flag-id> <variation-id>
  auth0 experimentation feature-flags variations update <feature-flag-id> <variation-id> --name "new-name"

  # Discover the payload schema
  auth0 experimentation feature-flags variations update --schema
  auth0 experimentation feature-flags variations update --schema --json

  # JSON input mode (for agents and automation)
  auth0 experimentation feature-flags variations update <feature-flag-id> <variation-id> --data '{"name":"new-name"}'
  auth0 experimentation feature-flags variations update <feature-flag-id> <variation-id> --data @variation.json

Flags

      --data string          JSON payload for the operation, as a JSON string or file path (@file.json). Can also be piped via stdin.
  -d, --description string   Description of the variation.
      --json                 Output in json format.
      --json-compact         Output in compact json format.
  -n, --name string          Name of the variation.
  -o, --overrides string     Parameter overrides as JSON mapping each parameter name directly to its override value. Example: '{"color":"red"}'
      --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.