jesvin90
(Jesvin Joseph)
August 12, 2024, 2:17pm
2
Hi @Shonnegowda ,
Take a look at the below thread :
I don’t think “Get Access” and “Manage Access” will satisfy your needs in this particular use case. You will be better served by making HTTP Requests to the search API and the submit access request API . Revoking entitlements via access request is currently limited to one entitlement per request, so you can’t do this in bulk. You will need a loop to submit an access request to revoke each entitlement.
Here is a workflow script to get you started. You can download this script and upload it to…
You can do an HTTP search and then loop the output of it. The loop input would look like something like this :
$.hTTPRequest.body[0].access[?(@.type == "ACCESS_PROFILE" && (@.source.name =="Source1" || @.source.name =="Source2"))]
Since Roles are not tagged to a source, I don’t think there is a direct way to filter them based on the source name. But if your role name contains the source name then you may be able to use a filter condition similiar to the one above.
1 Like