Withdraw Requests

delete

/iam/governance/selfservice/api/v1/requests

Withdraws requests specified in the payload. The payload needs an array of objects containing the request ID which is to be withdrawn.

Request

Supported Media Types
Body ()
Requests to withdraw.
Root Schema : BulkReqDeleteRequest
Type: object
Show Source
Nested Schema : requests
Type: array
Show Source
Nested Schema : ReqDeleteRequestEntity
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : BulkReqDeleteResponse
Type: object
Show Source
Nested Schema : requests
Type: array
Show Source
Nested Schema : ReqDeleteResponseEntity
Type: object
Show Source

401 Response

Unauthorized

403 Response

Forbidden

500 Response

Internal Server Error

Default Response

Unexpected error
Back to Top

Examples

This example demonstrates the ability for bulk operation of the deleting of requests. It shows both success and failure. The information shown here is against a pseudo system and serves as a prototype.

cURL Example

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

Example of DELETE Request Body

The following example shows the contents of the request body in JSON format.

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

Example of DELETE Response Body

The following example shows the contents of the response body in JSON format.

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