Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXCDT-677 : Support different strategies connection while creating a user #1091

Merged
5 changes: 5 additions & 0 deletions docs/auth0_users_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ auth0 users create [flags]
auth0 users create --name "John Doe" --email [email protected]
auth0 users create --name "John Doe" --email [email protected] --connection-name "Username-Password-Authentication" --username "example"
auth0 users create -n "John Doe" -e [email protected] -c "Username-Password-Authentication" -u "example" --json
auth0 users create -n "John Doe" -e [email protected] -c "email" --json
auth0 users create -e [email protected] -c "email"
auth0 users create --phone-number +916898989898 --connection-name "sms"
auth0 users create -m +916898989898 -c "sms" --json
```


Expand All @@ -35,6 +39,7 @@ auth0 users create [flags]
--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.
```

Expand Down
9 changes: 8 additions & 1 deletion docs/auth0_users_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ auth0 users update [flags]
auth0 users update
auth0 users update <user-id>
auth0 users update <user-id> --name "John Doe"
auth0 users update <user-id> --name "John Doe" --email [email protected]
auth0 users update <user-id> -n "John Kennedy" -e [email protected] --json
auth0 users update <user-id> -n "John Kennedy" -p <newPassword>
auth0 users update <user-id> -p <newPassword>
auth0 users update <user-id> -e [email protected]
auth0 users update <user-id> --phone-number +916898989899
auth0 users update <user-id> -m +916898989899 --json
```


Expand All @@ -34,6 +39,8 @@ auth0 users update [flags]
--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.
```


Expand Down
Loading
Loading