Attributes returned for roles assigned-identtiies

Is there a way to specify what attributes can be returned with the identities assigned to a role?

I have tried a few variations, example I want to retrieve title, LCS, jobCode, etc. This way when someone is setting up the role, they see and can verify who is be assigned, prior to adding the entitlements. The idea is to validate who is receiving the entitlements in advance to the entitlement assignment.

If I’m limited on what I can pull, I can always pull each identity individually but that is a bit of a mess. When the URL contained email, title, etc; it didn’t return anything other than the name and the id.
assigned_identities_url = f"{url}/beta/roles/{role_id}/assigned-identities?limit={limit}&offset={offset}"

Hi @ts_fpatterson ,

I believe we can only the configured response attributes from the endpoint and we may need to rely on Identity API to get the other attributes though it adds additional API executions.

I see id, name, aliasName, email and roleAssignmentSource as the only attributes being returned from the assigned-identities API.

Regards,
Uday Kilambi

1 Like

Thanks, that is what I was seeing as well.

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