Get a role
GET/api/v1/RolesRole/:roleId
Returns one role with its name, description, target and the flags that say whether it covers all activities, credentials, policies, resources or users. It does not return the permissions or the members of the role. Use the other role routes for those.
Permission required: Administrator role.
Values for roleTarget: 0 = AccessPolicies, 1 = Credentials, 2 = Auditors.
Request
Responses
- 200
- 400
- 403
- 404
Returns the role.
The role could not be retrieved.
The signed-in user does not have the required role.
The role does not exist.