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

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

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).
  -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.