How to get all access profiles assigned to an identity through API?

Hello,

I’m inquiring about obtaining a list of access profiles assigned to an identity. While I understand it can be retrieved from the POST /v3/search endpoint, the search feature experiences delays in retrieving the most updated data, making it impractical to use for this project. Are there any alternative options for accessing this information?

Best regards.

Hello,

I think search is the only option.

Hi Bernardo

You should be able to use historical-identities endpoint, and specify you want access profiles

example, for identity with ID: 72d0d4bdaaeb402ea2ca2bca965c48aa

GET beta/historical-identities/72d0d4bdaaeb402ea2ca2bca965c48aa/access-items?type=accessProfile

change to type=role to get all roles for an identity.

2 Likes

Hey Jason,

Thank you for the contribution, your solution works very well!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.