Search Query for Roles with zero identities and particular entitlement

:bangbang: Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.

Hi,
Does we have search query to the following scenarios:

  • search query to find Roles with zero identities.
  • search query to return roles contains particular entitlement.

Hi Shantha ,
This query will return roles contains particular entitlement
@entitlements(name:“Managers”)
I don’t see any query to list roles with zero identities in the documentation.
Thanks!!

2 Likes

Hello @Santhakumar
We have a query to return roles with particular entitlements which is what naveen mentioned.

To get to know the details of the assigned identities of a role
you can make use of this endpoint

https:/{org-name}.api.{domain-name}.com/v3/roles/:id/assigned-identities

Thanks for the heads up @VasanthRam. I have already figured the solution but forget to update here and appreciate your input :blush:

1 Like

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