Get identities for a suggested entitlement (for a role)
GET {{baseUrl}}/role-insights/:insightId/entitlement-changes/:entitlementId/identities
Role insights suggests entitlements to be added for a role. This endpoint returns a list of identities in the role, with or without the entitlements, for a suggested entitlement so that the user can see which identities would be affected if the suggested entitlement were to be added to the role.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| hasEntitlement | boolean | Identity has this entitlement or not | |
| offset | number | Offset into the full result set. Usually specified with limit to paginate through the results. | |
| See V3 API Standard Collection Parameters for more information. | |||
| limit | number | Max number of results to return. | |
| See V3 API Standard Collection Parameters for more information. | |||
| count | boolean | If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. | 
Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used.
See V3 API Standard Collection Parameters for more information. |
| sorters | string |  | Sort results using the standard syntax described in V3 API Standard Collection Parameters
Sorting is supported for the following fields: name |
| filters | string |  | Filter results using the standard syntax described in V3 API Standard Collection Parameters
Filtering is supported for the following fields and operators:
name: sw |
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
[{"name":"Adam Smith","attributes":{"department":"Human Resources-tah-mgb-dnd","firstName":"Adam","jobTitle":"Sales Analyst","location":"Mexico"}},{"name":"Adam Smith","attributes":{"department":"Human Resources-tah-mgb-dnd","firstName":"Adam","jobTitle":"Sales Analyst","location":"Mexico"}}]