Example of using the REST API to release a user ID


(SPE2304)

The following example demonstrates how you can use an endpoint to release a user ID.

Request URL

cURL example
POST https://<ipAddress>:<portNumber>/pam/v1/release
  • project: Name of the project being requested
  • user: PAM user ID that is in use
  • pamUser: PAM user ID that is being requested
  • uid: If you have defined the AllowRepeatedRequests parameter in the project, you must enter the UID returned in the request.
  • releaser: User releasing the ID

Request header

JSON example
{"project":"project", "user":"{{pamuser}}", "releaser":"{{user}}", "uid":"{{uid}}"}

The following is an example response:

Response body

JSON example
{ "status": "OK" }

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Security Privileged Access Manager 2.2