put /users/{id}/roles

Updates the roles for a user.

Updates the list of role IDs for the specified user.

Path parameters

id (required)
The ID of the user.

Request body

roleIds (required)
array[string]

Responses

200
Success. The location of the updated user is returned.

400
One of the following errors has occurred:The ID of the request is malformed.The body of the request is malformed.One or more roles were not found.

404
The specified user was not found.