Get a list of Access Bundles

get

/access-governance/access-controls/20250331/accessBundles

Returns details of all available access bundles with support for pagination.

Request

Query Parameters
  • Minimum Length: 1
    Maximum Length: 255
    A filter to return only resources that match the given approval workflow id.
  • Keyword to filter on. Only one keyword may be provided. Default is empty string.
  • Minimum Value: 1
    Maximum Value: 1000
    The maximum number of items to return.
    Default Value: 10
  • Minimum Length: 1
    Maximum Length: 255
    A filter to return only resources that match given orchestrated system identifier.
  • 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.
  • Minimum Length: 1
    Maximum Length: 255
    A filter to return only resources that match the given identityType.
    Allowed Values: [ "ANY", "NONE" ]
  • A filter to be used for sorting Access Bundles with the given sort by field. Only one sort order may be provided.
    Default Value: timeUpdatedOn
    Allowed Values: [ "name", "timeUpdated", "createdBy" ]
  • The sort order to use, either 'ASC' or 'DESC'.
    Allowed Values: [ "ASC", "DESC" ]
  • A filter to be used for finding entities with the given status.
    Default Value: ALL
    Allowed Values: [ "ALL", "ACTIVE", "DRAFT", "INACTIVE" ]
  • Minimum Length: 1
    Maximum Length: 255
    Identifier of the user who is performing the operation
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 list of Access Bundle Summaries
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 : AccessBundleCollection
Type: object
Results of an Access Bundle list request.
Show Source
Nested Schema : items
Type: array
List of Access Bundle summaries.
Show Source
Nested Schema : AccessBundleSummary
Type: object
Access Bundle summary object.
Show Source
Nested Schema : AccessBundleTimeLimit
Type: object
Time limit definition. Only one of daysLimit, hoursLimit, or dateTimeLimit should be specified.
Show Source
Nested Schema : IdInfo
Type: object
Generic identifying information object.
Show Source
Nested Schema : customAttributes
Type: object
Custom attributes associated with the Access Bundle.
Show Source
Nested Schema : PrimaryOwner
Type: object
Details of a primary Owner.
Show Source
Nested Schema : tags
Type: array
List of tags attached to the Access Bundle.
Show Source
Nested Schema : AccessBundleTimeLimitDays
Type: object
Time limit definition in days.
Show Source
Nested Schema : AccessBundleTimeLimitHours
Type: object
Time limit definition in hours.
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 Bundles by submitting a GET request

cURL Example - Without Query Parameters

curl -i -X GET \
   -H "Authorization:Bearer <your access token>" \
 'https://<host>/access-governance/access-controls/20250331/accessBundles'

cURL Example - With Query Parameters

cURL command to restrict the data and include only active access bundles.

curl -i -X GET \
   -H "Authorization:Bearer <your access token>" \
 'https://<host>/access-governance/access-controls/20250331/accessBundles?status=ACTIVE&limit=4'

Example of the Response Body

The following example shows the contents of the response body in JSON format, including a list of all available access bundles:

{
    "items": [
        {
            "id": "539fde4f-874b-40b6-8bb8-663cdc8a93e8",
            "name": "StandardAccess",
            "description": "Standard Access",
            "tags": null,
            "timeCreated": "2025-03-16T06:45:33.607Z",
            "timeUpdated": "2025-03-16T06:45:33.607Z",
            "createdBy": {
                "id": "globalId.OCI.OCI-System.1234563xxxxxxxx",
                "name": "Bill Clark",
                "displayName": "Bill Clark"
            },
            "requestableBy": "ANY",
            "status": "ACTIVE",
            "approvalWorkflowId": "NO_APPROVAL_REQUIRED",
            "orchestratedSystem": {
                "id": "1234567-37ad-4ac5-884b-xxxxx",
                "name": "mock-flat-file",
                "displayName": "mock-flat-file"
            },
            "accessBundleType": "PERMISSION_BUNDLE",
            "primaryOwner": {
                "value": "globalId.OCI.OCI-System.1234563xxxxxxxx",
                "displayName": "Bill Clark"
            },
            "isOwner": false,
            "customAttributes": null
        }
    ]
}
Back to Top