auth0 users create
Create a new user.
To create interactively, use auth0 users create
with no flags.
To create non-interactively, supply the name and other information through the available flags.
Usage
auth0 users create [flags]
Examples
auth0 users create
auth0 users create --name "John Doe"
auth0 users create --name "John Doe" --email john@example.com
auth0 users create --name "John Doe" --email john@example.com --connection-name "Username-Password-Authentication" --username "example"
auth0 users create -n "John Doe" -e john@example.com -c "Username-Password-Authentication" -u "example" --json
auth0 users create -n "John Doe" -e john@example.com -c "email" --json
auth0 users create -e john@example.com -c "email"
auth0 users create --phone-number +916898989898 --connection-name "sms"
auth0 users create -m +916898989898 -c "sms" --json
Flags
-c, --connection-name string Name of the database connection this user should be created in.
-e, --email string The user's email.
--json Output in json format.
-n, --name string The user's full name.
-p, --password string Initial password for this user (mandatory for non-SMS connections).
-m, --phone-number string The user's phone number.
-u, --username string The user's username. Only valid if the connection requires a username.
Inherited Flags
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 users blocks - Manage brute-force protection user blocks
- auth0 users create - Create a new user
- auth0 users delete - Delete a user
- auth0 users import - Import users from schema
- auth0 users open - Open the user’s settings page
- auth0 users roles - Manage a user’s roles
- auth0 users search - Search for users
- auth0 users show - Show an existing user
- auth0 users update - Update a user