List the roles for an access policy
GET/api/v1/AccessControlPolicy/RolesForPolicy/:policyId
Returns the ID and name of each role associated with the access policy.
Permission required: Administrator role, or a user whose custom role grants the Access Policies permission for this access policy.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Returns an array of objects, each with a role ID and name.
The roles could not be retrieved.
The signed-in user is not allowed to work with this access policy.
The signed-in user does not have the required role or permission.
The access policy does not exist.