API to add metadata to entitlement

Hello Community,

i have been trying to update metadata to entitlements via API (script)
using https://sailpoint.api.identitynow.com/v2025/entitlements/:id/access-model-metadata/:attributeKey/values/:attributeValue

but it is not working AD entitlements.
Can someone help with this please.

Hi @nidhipriya

require more details , which api end point are you exactly using , what is the body you are passing .

Hi @nidhipriya ,

It seems you are providing incorrect input in the API call. Could you please post the API details with sample input

I am using below API and Body. PFB screenshot.

API : https://sailpoint.api.identitynow.com/v2025/access-model-metadata/bulk-update/ids
{

“entitlements”: [

"XXXX"

],

“operation”: “ADD”,

“replaceScope”: “ATTRIBUTE”,

“values”: [

{

  "attribute": "entTest26",

  "values": \[

    "network"

  \]

}

]

}

I even tried using other
API :

https://sailpoint.api.identitynow.com/v2025/entitlements/:id/access-model-metadata/:attributeKey/values/:attributeValue

but both are not working.

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