Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

CPAM API 403 error

Abhay_Yadav
New Contributor II
New Contributor II

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

 

 

 

1 REPLY 1

pruthvi_t
Saviynt Employee
Saviynt Employee

Hi @Abhay_Yadav ,

Greetings.

Are you getting 403 error on login api or the other?? Can you please elaborate on your requirement here??

Thanks,


Regards,
Pruthvi