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.

Usage

auth0 phone provider update [flags]

Examples

  auth0 phone provider update
  auth0 phone provider update --json
  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"] }'

Flags

  -s, --configuration string   Configuration for the phone provider. formatted as JSON.
  -c, --credentials string     Credentials for the phone provider, formatted as JSON.
  -d, --disabled               Whether the provided is disabled (true) or enabled (false).
      --json                   Output in json format.
  -p, --provider string        Provider name. Can be 'twilio', or 'custom'

Inherited Flags

      --debug           Enable debug mode.
      --no-color        Disable colors.
      --no-input        Disable interactivity.
      --tenant string   Specific tenant to use.