Users
Create User
Creates a new user and adds them to the authenticated account. Licenses are automatically assigned to the new user based on the account's auto-licensing configuration. Only available to Enterprise accounts.
post/v1/users
Request body
Example request
{
"email": "john-doe@example.com",
"firstName": "John",
"lastName": "Doe",
"username": "john-doe@example.com",
"password": "`.~b\"J<CA95m`bV@",
"roles": [
"billing-admin",
"team-admin"
]
}Response
Created. Returns a User resource containing information about the created user.
Example response
{
"accountId": 100,
"enabled": true,
"email": "john-doe@example.com",
"name": "John Doe",
"userId": 101,
"username": "johndoe",
"roles": [
"billing-admin",
"team-admin"
],
"avatar": {
"type": "url",
"link": "https://www.gravatar.com/avatar/00000000000000000000000000000000?s=200&d=404"
}
}