List the permissions of a role
GET/api/v1/RolesRole/:roleId/Permission
Returns the permissions currently assigned to a role. Each row repeats the role's id, name and description, and gives the permission in permissionId, permissionName and permissionDescription and its permission group in groupId, groupName and groupDescription.
Permission required: Administrator role.
Request
Responses
- 200
- 400
- 403
- 404
Returns an array with one row per permission. The array is empty when the role has none.
The permissions could not be retrieved.
The signed-in user does not have the required role.
The role does not exist.