v1

latestOpenAPI 3.0.02026-07-178236113.8 KB
Users

Update an existing user by authId

Required scope - write_user. Assigning a privileged role (e.g. super_admin) additionally requires the caller to hold the root scope.

put/api/v1/users/{authId}

Path parameters

authIdstring required

The authId of the user

Request body

firstNamestring
lastNamestring
isActiveboolean
localestring
orgSlugstring
rolesstring[]
attributesobject

Example request

{
  "attributes": {
    "1": "value for attributeId 1",
    "2": "value for attributeId 2"
  }
}

Response

Example response

{
  "user": {
    "attributes": {
      "attribute name 1": "value for attribute name 1",
      "attribute name 2": "value for attribute name 2"
    }
  }
}