Get a list of Access Requests
get
/access-governance/access-controls/20250331/accessRequests
Returns details of all available access requests with support for pagination.
Request
Query Parameters
-
limit: integer
Minimum Value:
1
Maximum Value:1000
The maximum number of items to return.Default Value:10
-
page: string
Minimum Length:
1
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. -
sortOrder: string
The sort order to use, either 'ASC' or 'DESC'.Allowed Values:
[ "ASC", "DESC" ]
Header Parameters
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
Supported Media Types
- application/json
200 Response
A page of Access Request Summary objects
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
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.
Root Schema : AccessRequestCollection
Type:
object
Results of a accessRequest search.
Show Source
-
items(required):
array items
List of accessRequests.
Nested Schema : items
Type:
array
List of accessRequests.
Show Source
-
Array of:
object AccessRequestSummary
Summary of the AccessRequest.
Nested Schema : AccessRequestSummary
Type:
object
Summary of the AccessRequest.
Show Source
-
id(required):
string
Unique identifier that is immutable on creation
-
justification:
string
Justification for creating or updating the access request
-
requestStatus:
string
Status of the access request
-
timeCreated:
string(date-time)
The time the the AccessRequest was created. An RFC3339 formatted datetime string
-
timeUpdated:
string(date-time)
The time the the AccessRequest was updated. An RFC3339 formatted datetime string
400 Response
Bad Request
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Unauthorized
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Not Found
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Too Many Requests
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Internal Server Error
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Unknown Error
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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 retrieve a list of Access Requests by submitting a GET request.
cURL Example - Without Query Parameters
curl -i -X GET \
-H "Authorization:Bearer <your access token>" \
'${service-instance-url}/access-governance/access-controls/20250331/accessRequests'
cURL Example - With Query Parameters
cURL command to get the first ten access requests, sorted in a descending order.
curl -i -X GET \ -H "Authorization:Bearer <your access token >" \ '${service-instance-url}/access-governance/access-controls/20250331/accessRequests?limit=10&sortOrder=DESC'
Sample GET Command using REST Client
${service-instance-url}/access-governance/access-controls/${version}/accessRequests
Example of the Response Body
The following example shows the contents of the response body in JSON format, including a list of approval workflows:
{ "items" : [ { "id" : "d123-e763-4427-113-xxxxxxx", "justification" : "Need Dev Tool Access - New joinee", "requestStatus" : "PENDING_APPROVALS", "timeCreated" : "2025-03-18T07:06:47.589Z", "timeUpdated" : "2025-03-18T07:06:47.589Z" }, { "id" : "7d5db70c-4427-113-xxxxxxx", "justification" : "Need Dev Tool Access - New joinee", "requestStatus" : "APPROVED", "timeCreated" : "2025-03-17T16:54:36.353Z", "timeUpdated" : "2025-03-17T16:54:36.353Z" } ] }