Skip to main content

Get a role

GET 

/roles/v2/:id

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

This API returns a Role by its ID. The response includes the Role's effective privilege level in privilegeLevel.effective, which is the highest effective privilege level among the entitlements assigned directly to the Role and the entitlements included in the Role's access profiles.

A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.

Request​

Responses​

A Role