Create User

Creates a new user and adds them to the authenticated account.

  • Licenses are granted to the user based on the authenticated account's auto licensing settings.

πŸ“˜

Use of this endpoint can only be authorized by administrators on accounts with Enterprise licenses.


Valid Authentication Methods

OAuth 2.0 Account Token Scopes:

  • account.user

Body Params
string
required

The user's email.

string
required

The user's first name.

string
required

The user's last name.

string

The user's username. If not provided the email will be used as the username.

string

The user's password.

roles
array of strings

A list of roles assigned to the user.

roles
Headers
string
required
Defaults to 1

The API version used in the request.

Responses

400

Bad Request. Occurs if any input field is invalid.

403

Forbidden. Occurs if the app making the request does not have permission to create users, if the email domain is under domain control by a different account, or if the token requesting to create a user is not on an Enterprise account.

409

Conflict. Occurs if a user with the same email or username already exists.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here! Or choose an example:
application/json