Replace a user's memberships
PUT/tap/api/v1/groups/user/:userId/memberships
Sets the complete set of groups a user belongs to; memberships not listed are removed. Requires the admin role.
Request
Responses
- 200
- 400
- 401
- 404
- 500
The memberships were updated.
The user ID is not a valid number, or the request body is missing groupIds or is malformed.
The user is not authorized to access this resource.
The user or one of the groups was not found.
The memberships could not be updated.