I was wondering if there is a method to delete all access profiles and roles simultaneously using an API or another solution. The current API restricts deletions to 50 access profiles at a time, which is not practical for our needs. We will be testing the migration of thousands of IT roles from IIQ to IDN, and we need to clear all access profiles in our sandbox environment during these tests. Thanks in advance!
Hey @sahincelik
I would suggest use workflows with HTTP request to loop on GET call and DELETE call. But you need to ensure that the deletion errors are already handled before hand to cause no erroring in WF’s
okay this generally arises due to SSL.
So try these 2.
If you are connected to VPN, disconnect from it and then try to execute again. Should work.
If you cannot disconnect from VPN then add this line in the ruby Code.
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
add it just after this line: http.use_ssl = true
basically wherever you find http.use_ssl = true after that add “http.verify_mode = OpenSSL::SSL::VERIFY_NONE” line.
EDIT: P.S there are many instances where you will find this particular line http.use_ssl = true so after every instance add this line http.verify_mode = OpenSSL::SSL::VERIFY_NONE
Should work after that.