The Search API always returns identity‑centric results, not account‑level details. At the moment, there is no supported endpoint in ISC that directly solves this use case of finding accounts by entitlement.
@shsakshi the accounts object is not directly available in the search module.
However, for example, the following query will retrieve all identities for which a particular entitlement is assigned:
@access(name:"yourEntitlementValue" AND type:"ENTITLEMENT" AND source.name:"yoursourcename")
In the results, you will get a list of identities (including all their accounts from different sources, but only the account IDs and a few additional attributes are returned). Uncorrelated accounts will not appear.
As mentioned by @ROHPU & @baoussounda , the Search API supports querying identities, roles, access profiles, entitlements, events, & account activities, but it does not support querying accounts directly.
Hi @shsakshi as per the posted message i understand that you want all the accounts of a source on which a Specific entitlement exists..
For that you can use this search.