Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/05/2024 11:29 PM
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?
08/06/2024 01:04 AM
Hi @sudheera , yes it is possible you need to have two calls
1 call to get existing data
2 call to append the list
08/06/2024 01:17 AM
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.
08/06/2024 10:25 AM