v1

latestOpenAPI 3.0.02026-07-14135106116.2 KB
users

Update user

Update the given user with the provided attributes

Permission required: edit_users

patch/users/{user_id}

Headers

X-Fieldsstring mask

An optional fields mask

Request body

usernamestring

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"
    }
  ]
}