Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to add entitlements in the role using Saviynt REST API?

deepali198
New Contributor
New Contributor
1 REPLY 1

dgandhi
All-Star
All-Star

Below REST API for your reference:

https://documenter.getpostman.com/view/1797923/TVsvi7G2?version=latest#bd4a77ae-e308-490d-8396-ffb8a...

{{url}}/ECM/{{path}}/updateEnterpriseRoleRequest

 

{  
   "roletype":"ENTERPRISE",
   "role_name":"RoleName",
   "requestor":"admin",
   "owner": [
{
"ownerName" :"mchapman",
"updateType": "REMOVE"
},
{
"ownerName":"ahinton",
"updateType":"ADD"
}
   ],
   "customproperty36":"cp36",
   "endpointname":"Endpoint1",
   "entitlements" : [
    {
    "entitlement_value":"TEST_ENT1",
    "entitlementType" : "Role",
    "endpoint" : "Endpoint1",
    "updateType" : "ADD"
    },
    {
    "entitlement_value":"TEST_ENT2",
    "entitlementType" : "Role",
    "endpoint" : "Endpoint1",
    "updateType" : "REMOVE"
    }
   ]
}
 
 
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.