Create an extension request
/access-governance/access-controls/20250331/accessRequests/extension
Request
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
object
-
extensionDateInEpoch(required):
integer(int64)
Requested extension date represented as epoch timestamp
-
justification(required):
string
Justification for creating the extension request
-
processInstanceId(required):
string
Process Instance id of the request being extended
Response
- application/json
200 Response
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
createdBy:
string
The user that created the request
-
extensionDateInEpoch:
integer(int64)
Requested extension date represented as epoch timestamp
-
id(required):
string
The Unique Oracle ID (OCID) that is immutable on creation of extension request.
-
justification:
string
Justification for creating or updating the extension request
-
processInstanceId:
string
Process Instance id of the request being extended
-
requestStatus:
string
Status of the extension request
-
timeCreated:
string(date-time)
The time the the ExtensionRequest was created. An RFC3339 formatted datetime string
-
timeUpdated:
string(date-time)
The time the the ExtensionRequest was last updated. An RFC3339 formatted datetime string
400 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
401 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
404 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
409 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
429 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
Default Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
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}
.