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

auth0 users update

Update a user.

To update interactively, use auth0 users update with no arguments.

To update non-interactively, supply the user id and other information through the available flags.

Usage

auth0 users update [flags]

Examples

  auth0 users update 
  auth0 users update <user-id> 
  auth0 users update <user-id> --name "John Doe"
  auth0 users update <user-id> -n "John Kennedy" -e johnk@example.com --json
  auth0 users update <user-id> -n "John Kennedy" -p <newPassword>
  auth0 users update <user-id> -p <newPassword>
  auth0 users update <user-id> -e johnk@example.com
  auth0 users update <user-id> --phone-number +916898989899
  auth0 users update <user-id> -m +916898989899 --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.