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

auth0 phone provider update

Update the phone provider.

To update interactively, use auth0 phone provider update with no arguments.

To update non-interactively, supply the provider name and other information through the flags.

Use --data to supply the whole payload as JSON (inline, @file.json, or piped via stdin). It is validated against the OpenAPI schema before it is sent. Use --schema to print the request payload schema and exit.

Usage

auth0 phone provider update [flags]

Examples

  auth0 phone provider update
  auth0 phone provider update --json
  auth0 phone provider update --json-compact
  auth0 phone provider update --disabled
  auth0 phone provider update --credentials='{ "auth_token":"NewAuthToken" }'
  auth0 phone provider update --configuration='{ "delivery_methods": ["voice"] }'
  auth0 phone provider update --configuration='{ "default_from": admin@example.com }'
  auth0 phone provider update --provider twilio --disabled=false --credentials='{ "auth_token":"NewAuthToken" }' --configuration='{ "sid": "+1234567890", "default_from": "admin@example.com", "delivery_methods": ["voice", "text"] }'
  auth0 phone provider update --provider custom --disabled=false --configuration='{ "delivery_methods": ["voice", "text"] }'

  # Discover the payload schema
  auth0 phone provider update --schema
  auth0 phone provider update --schema --json

  # JSON input mode (for agents and automation)
  auth0 phone provider update <id> --data '{"credentials":{"auth_token":"NewAuthToken"}}'
  auth0 phone provider update <id> --data @provider.json

Flags

  -s, --configuration string   Configuration for the phone provider. formatted as JSON.
  -c, --credentials string     Credentials for the phone provider, formatted as JSON.
      --data string            JSON payload for the operation, as a JSON string or file path (@file.json). Can also be piped via stdin.
  -d, --disabled               Whether the provided is disabled (true) or enabled (false).
      --json                   Output in json format.
      --json-compact           Output in compact json format.
  -p, --provider string        Provider name. Can be 'twilio', or 'custom'
      --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.