If I have Access Profiles that need to be deleted and they all contain the string “abc” and they are all assigned to roles, is there an easy way to unassign them from the roles using an API call?
Hi @aaronknoph !
To accomplish this, I’d write a script. I prefer PowerShell, but any compatible scripting language that will allow you make API calls and use the logic to accomplish this will work (e.g. if access profile name contains “abc”, run this API call to remove from role).
Look at the return schema from get-role | SailPoint Developer Community and then use the patch-role | SailPoint Developer Community API call to remove the access profile once you get the logic right.
I hope that helps!
Thanks Vincent! I’ll check it out!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.