Add roles to a group
PUT/api/v1/UserRole/Group/:groupId/Add
Adds the roles in the body to the group and returns the roles that result.
Permission required: Admin role.
Values for roles: 0 = None, 50 = Administrator, 150 = Reviewer.
Caution: The change takes effect immediately and can grant administrator access to every member of the group.
Request
Responses
- 200
- 400
- 403
- 404
The list of role numbers the group now holds.
The change failed. The body contains the error message.
The signed-in user does not have the required role.
No group has that ID.