Termination workflow to remove requestable access profiles and roles

Hi @Shonnegowda,

Take a look at the below thread :

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