List the roles for a group
GET/api/v1/UserRole/Group/:groupId
Returns the Administrator and Reviewer roles, each with a flag showing whether this group has it. The None role is never listed. Use it to see which roles are assigned.
Permission required: Admin role.
Values for roles: 0 = None, 50 = Administrator, 150 = Reviewer.
Caution: The response shows whether this group holds the Administrator role.
Request
Responses
- 200
- 400
- 403
- 404
A table of roles. Each entry has an id and a roleName (both the role name, such as Administrator) and isAssigned. recordsTotal is the number of entries returned.
The lookup failed. The body contains the error message.
The signed-in user does not have the required role.
No group has that ID.