Click HERE to see how Saviynt Intelligence is transforming the industry. |
12/06/2023 05:41 AM
Hi,
We are trying to use CPAM v6 API to terminate a Privileged user session.
But the API Call is giving us 403 error. We have assigned all the API access that exists in saviynt 23.7 version to the API user SAV role. We are using "{url}/ECM/api/login" to get the Auth token for PAM API as well.
1. Can you please confirm which API should we use to generate the Auth token for accessing END Session API. (v6.0 > PAM > End Session)
https://documenter.getpostman.com/view/6171505/U16bvotf#42b81326-8e7c-4a02-bf59-73414ba35060
2. The API body requires "resouceId". Where in the Saviynt tables or from where can we get resource id for a Privilege session.
{ "endSessionModels":[ { "requestAccessKey": "12699", "accountName": "Administrator", "userName": "admin", "resourceId": "MySQL__cpam-demo-rds-2.ctsdem4foarj.us-east-1.rds.amazonaws.com", "removeaccess": "true" } ] }
Regards,
Abhay Yadav
12/12/2023 04:43 PM
Hi @Abhay_Yadav ,
Greetings.
Are you getting 403 error on login api or the other?? Can you please elaborate on your requirement here??
Thanks,