REST API for Oracle Identity Governance Self Service

Withdraw or Delete Request

The URIs /requests DELETE allows for the withdrawal or revocation of multiple requests with the appropriate request payload. The URI /requests/{reqid} DELETE allows for revocation or withdrawal of a particular request. Applies only to requests that have NOT been approved yet.

cURL Example for Withdrawal of Multiple Requests

curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X DELETE -u username:password -d @post.json https://pseudo.com/iam/governance/selfservice/api/v1/requests

DELETE Request Body

{ "requests": [ { "requestId": "3007", "id": "2" }, { "requestId": "2030", "id": "3" } ] }

DELETE Response Body

{ "requests": [ { "id": "2", "requestId": "3007", "status": "SUCCESS" }, { "id": "3", "requestId": "2030", "status": "SUCCESS" } ] }

cURL Example for Withdrawing a Particular Request

curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X DELETE -u username:password -d @post.json https://pseudo.com/iam/governance/selfservice/api/v1/requests/4007

DELETE Response Body

{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/requests/4007" } ], "id": "4007", "status": "withdrawn" }