Create an extension request

post

/access-governance/access-controls/20250331/accessRequests/extension

Creates a new extension request for an identity with the specified details.

Request

Header Parameters
  • The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Body ()
Details for the new Extension Request
Root Schema : CreateExtensionRequestDetails
Type: object
The information about new ExtensionRequest.
Show Source
Back to Top

Response

Supported Media Types

200 Response

The newly created Extension Request
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : ExtensionRequest
Type: object
Description of ExtensionRequest.
Show Source

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

409 Response

Conflict
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Back to Top

Examples

The following example shows how to request extension for your time-limited access. Use the approvalRequestID as the process Instance ID and timestamp in EPOC format milliseconds.

The extension time should be after the expiration of the access. Use EPOC Converter for timestamp. Before creating an extension request, run Get Details of an Access Request for fetching the approvalRequestID. Your Access Bundle configuration must allow extension request and should have an approval workflow associated with it.

cURL Request Example

curl -i -X POST \
   -H "Authorization:Bearer <your-access-token>" \
   -H "Content-Type:application/json" \
   -d \
'{
    "processInstanceId": "25d5ed10-da3d-4405-8151-2ca90b7df645:0a2e2c08-3bb6-11f0-a9b2-728731956d82",
    "justification": "test extension request validation again",
    "extensionDateInEpoch": 1748446221000
}' \
 '<${service-instance-url}/access-governance/access-controls/${versionId}/accessRequests/extension>'

Example Request Payload

{
    "processInstanceId": "25d5ed10-da3d-4405-8151-2ca90b7df645:0a2e2c08-3bb6-11f0-a9b2-728731956d82",
    "justification": "test extension request validation again",
    "extensionDateInEpoch": 1750179992000
}

Example of the Response Code

It may take a few seconds to create an identity collection. Do not try to abort the request.

You'll receive 200 OK response along with the following response body:

{
  "id": "5996aa34-825f-4569-xxx-a0b2c4b64c7a",
  "processInstanceId": "25d5ed10-da3d-4405-8151-2ca90b7df645:0a2e2c08-3bb6-11f0-a9b2-728731956d82",
  "extensionDateInEpoch": 1750179992000,
  "justification": "Extension till June 17 5:06:32 PM",
  "requestStatus": "APPROVED",
  "timeCreated": "2025-06-15T13:42:06.644Z",
  "timeUpdated": "2025-06-16T13:42:06.644Z",
  "createdBy": "clientId.External.88b9690ece344xxx53570480031e7d0"
}

The approval requests for the extension request is associated with the original access request ID. You can get the details of the access request by running GET accessRequests/{accessRequestId}.

Back to Top