Trying to list requestable objects using this API: list-requestable-objects | SailPoint Developer Community and I found out this doesn’t actually work for entitlements. Is there a good alternative way to get requestable entitlements for the current user without them needing to be an admin?
Would the “Segmented-for-identity” parameter work on the List Entitlements Endpoint work for what you are trying to do? It has the value of “me” which can be used to get the entitlements in the segment for the requester.
Looks like there is a filter that can be added for requestable as well.
Interestingly, when I attempt to use the “segmented-for-identity=me”, I get an error.
Request:
{{baseUrl}}/entitlements?segmented-for-identity=me
Error:
{
"messages": [
{
"localeOrigin": "DEFAULT",
"locale": "en-US",
"text": "The request was syntactically correct but its content is semantically invalid."
},
{
"localeOrigin": "REQUEST",
"locale": "en-US",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"detailCode": "400.1 Bad request content",
}
You need to pass ID, then it will work. The string me is just misleading, it should have resulted user not found at least.
By default this API supports Access Profiles and Roles only.
For Entitlements,
- Get the segment(s) of your Identity using Identity Details API
- You can find entitlements using search query (segments.id:)
- Add requestable:true as well to filter it out
By using multiple APIs, we can get them.
I really wish this API gets support of Entitlements as well.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.