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",
}