Update

This endpoint makes it possible to:

  • Reset the list of roles associated with an account.
  • Reset the list of teams associated with an account.
  • Deactivate or Activate an account
Path Params
integer
required

Numeric ID of the account to update

Body Params
roles
array of integers

The list of role ids we want to assign to a user account. Setting an empty list of roles will remove all permissions from the user.

roles
teams
array of integers

The list of team ids we want to assign to a user account. Setting an empty list of teams will remove all teams from the user.

teams
boolean

Set to true to enable a user account. false to disable this user account.

Disabled accounts are not able to login anymore, regardless of what the SSO might say about the status of the user account.

Responses
200

Returned upon succes

Language
Credentials
:
Response
Choose an example:
application/json