v1

latestOpenAPI 3.0.02026-07-14135106116.2 KB
users

Create user

Create a new user with the provided attributes and roles

Permission required: edit_users

post/users

Headers

X-Fieldsstring mask

An optional fields mask

Request body

activeboolean required

Inactive users have to reset their password first

passwordstring

the user password

usernamestring required

the user username

Example request

{
  "roles": [
    {
      "inbox": "abcdef123456789abcdef123",
      "role": "abcdef123456789abcdef123"
    }
  ]
}

Response

Success

activeboolean required

Inactive users have to reset their password first

confirmed_atstring date-time
idstring required
usernamestring required

the user username

Example response

{
  "roles": [
    {
      "inbox": "abcdef123456789abcdef123",
      "role": "abcdef123456789abcdef123"
    }
  ]
}