put /users/{id}/groups

Updates a user's list of groups.

Updates the unordered list of group IDs for the specified user.

Path parameters

id (required)
The ID of the user.

Request body

groupIds (required)
array[string] The unordered list of groups for the specified user.

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 groups were not found.

404
The specified user was not found.