GET /api/role/list

Replaced by

To see which identities are assigned a particular role, use get-role-assigned-identities | SailPoint Developer Community. If you need a total count of identities assigned to a given role, you can use the query parameter count=true. 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.

1 Like

Hi Colin,

This v3 endpoint does not return the number of identities associated to the role, we do not get it either fetching role by role.

I see that the UI uses POST /beta/roles/count-assigned-identities, that is not so convenient since it has to be a second call, but we could make it work, however that call is not documented.

Could you provide the documentation of /beta/roles/count-assigned-identities or even better if you can get the count of identities added tot he this endpoint.

Thanks,
Gustavo

Hi Gustavo. Please see the first post, which I have updated with information on how to get identities assigned to a role.

Yes, I saw that, but using it would mean me making 800+ calls to get those numbers (we have 800+ roles and increasing) instead of using just one call.

Unfortunately, there is not enough time to make the suggested enhancements before the API is turned off. However, you can submit an idea to ideas.sailpoint.com to request this functionality.

I will do, but at the speed the ideas are done, it will be at least 1.5 years before is even looked at (not exaggerating the time frame is based on previous ideas being evaluated).

I guess in the mean time I’ll do all the calls I have to … I hope IDN does not start giving 504s