Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/11/2024 05:34 AM
Got a good head scratcher for the Saviynt guru's on here!
Using the updateEnterpriseRoleRequest API I'm only able to update the CP attributes on a role and not the entitlements even though I'm using the formatting described in the postman documentation?
I noticed this line in the postman doc, does this mean that this api won't update role entitlements? Should I be using a different one? We have auto approve turned on. If that's the case why is cp36 still updating?
Note : If config for auto approve is ON then request will not be created
07/11/2024 06:21 AM
Hi @mblakey this is working fine in 24.4. I'm able to add entitlements to the enterprise role.
Please see the working request payload below.
{
"roletype":"ENTERPRISE",
"role_name":"SampleRole",
"requestor":"admin",
"customproperty36":"cp36modified",
"endpointname":"sample endpoint",
"entitlements" : [
{
"entitlement_value":"SampleEnt1",
"entitlementType" : "EntType",
"endpoint" : "Sample",
"updateType" : "ADD"
},
{
"entitlement_value":"SampleEnt2",
"entitlementType" : "EntType",
"endpoint" : "Sample",
"updateType" : "ADD"
}
]
}
07/11/2024 06:43 AM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️