Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

REST Connector AddAccessJSON: Always send full entitlements list

sudheera
New Contributor
New Contributor

I have to integrate a REST API that doesn't have calls for adding/removing a single entitlement. I always have to update the account with the full list of current entitlements.

 

Example 1:

User has entitlements A and B. Additionally he should receive C. I have to send user update with:

{"roles": [{"name": "A"}, {"name": "B"}, {"name": "C"}]}

Example 2:

User has entitlements A, B and C. B should be removed. I have to send user update with:

{"roles": [{"name": "A"}, {"name": "C"}]}

Is this possible to do in the AddAccessJSON?

 

 

Kudos
 
 
3 REPLIES 3

NM
Esteemed Contributor
Esteemed Contributor

Hi @sudheera , yes it is possible you need to have two calls 

1 call to get existing data 

2 call to append the list


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

sudheera
New Contributor
New Contributor

Thank you for your response.

can you please share the any sample json, for adding new ent to the list and for removing ent from list.

Refer https://forums.saviynt.com/t5/community-knowledge-base/rest-conn-retain-existing-entitlements-and-on...


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.