auth0 phone provider create
Create the phone provider.
To create interactively, use auth0 phone provider create
with no arguments.
To create non-interactively, supply the provider name and other information through the flags.
Usage
auth0 phone provider create [flags]
Examples
auth0 phone provider create
auth0 phone provider create --json
auth0 phone provider create --provider twilio --disabled=false --credentials='{ "auth_token":"TheAuthToken" }' --configuration='{ "default_from": "admin@example.com", "sid": "+1234567890", "delivery_methods": ["text", "voice"] }'
auth0 phone provider create --provider custom --disabled=true --configuration='{ "delivery_methods": ["text", "voice"] }'
auth0 phone provider create -p twilio -d "false" -c '{ "auth_token":"TheAuthToken" }' -s '{ "default_from": "admin@example.com", "sid": "+1234567890", "delivery_methods": ["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.
Related Commands
- auth0 phone provider create - Create the phone provider
- auth0 phone provider delete - Delete the phone provider
- auth0 phone provider list - List your Phone providers
- auth0 phone provider show - Show the Phone provider
- auth0 phone provider update - Update the phone provider