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
  • Minimum Value: 1
    Maximum Value: 1000
    The maximum number of items to return.
    Default Value: 10
  • 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.
  • The sort order to use, either 'ASC' or 'DESC'.
    Allowed Values: [ "ASC", "DESC" ]
Header Parameters
  • The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Back to Top

Response

Supported Media Types

200 Response

A page of Access Request Summary objects
Headers
  • 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.
  • 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 : AccessRequestCollection
Type: object
Results of a accessRequest search.
Show Source
Nested Schema : items
Type: array
List of accessRequests.
Show Source
Nested Schema : AccessRequestSummary
Type: object
Summary of the AccessRequest.
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

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 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"
  }
 ]
}
Back to Top