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
-
approvalWorkflowId: string
Minimum Length:
1
Maximum Length:255
A filter to return only resources that match the given approval workflow id. -
keywordContains: string
Keyword to filter on. Only one keyword may be provided. Default is empty string.
-
limit: integer
Minimum Value:
1
Maximum Value:1000
The maximum number of items to return.Default Value:10
-
orchestratedSystemId: string
Minimum Length:
1
Maximum Length:255
A filter to return only resources that match given orchestrated system identifier. -
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. -
requestableBy: string
Minimum Length:
1
Maximum Length:255
A filter to return only resources that match the given identityType.Allowed Values:[ "ANY", "NONE" ]
-
sortBy: string
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" ]
-
sortOrder: string
The sort order to use, either 'ASC' or 'DESC'.Allowed Values:
[ "ASC", "DESC" ]
-
status: string
A filter to be used for finding entities with the given status.Default Value:
ALL
Allowed Values:[ "ALL", "ACTIVE", "DRAFT", "INACTIVE" ]
-
userId: string
Minimum Length:
1
Maximum Length:255
Identifier of the user who is performing the operation
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 list of Access Bundle Summaries
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 : AccessBundleCollection
Type:
object
Results of an Access Bundle list request.
Show Source
-
items(required):
array items
List of Access Bundle summaries.
Nested Schema : items
Type:
array
List of Access Bundle summaries.
Show Source
-
Array of:
object AccessBundleSummary
Access Bundle summary object.
Nested Schema : AccessBundleSummary
Type:
object
Access Bundle summary object.
Show Source
-
accessTimeLimit:
object AccessBundleTimeLimit
Time limit definition. Only one of daysLimit, hoursLimit, or dateTimeLimit should be specified.
-
accessTimeLimitType:
string
Allowed Values:
[ "INDEFINITELY", "NUMBER_OF_DAYS", "NUMBER_OF_HOURS" ]
Time limit type of the access bundle. -
approvalWorkflowId:
string
The id of the approval workflow that is applicable to the Access Bundle.
-
createdBy:
object IdInfo
Generic identifying information object.
-
customAttributes:
object customAttributes
Custom attributes associated with the Access Bundle.
-
description:
string
Access Bundle description.
-
id(required):
string
Unique identifier that is immutable on creation by the system.
-
isOwner:
boolean
True if the identity of the caller is the owner of the Access Bundle.
-
name:
string
Access Bundle name.
-
orchestratedSystem:
object IdInfo
Generic identifying information object.
-
primaryOwner:
object PrimaryOwner
Details of a primary Owner.
-
requestableBy:
string
Allowed Values:
[ "ANY", "NONE" ]
The identity type that may request the Access Bundle. -
status:
string
Allowed Values:
[ "ACTIVE", "DRAFT", "INACTIVE", "PENDING", "FAILED", "IN_PROGRESS", "SAVED", "SUCCESS", "TIMEOUT" ]
Status of the Access Bundle. -
tags:
array tags
List of tags attached to the Access Bundle.
-
timeCreated:
string(date-time)
Time when the Access Bundle was created. An RFC3339 formatted datetime string.
-
timeUpdated:
string(date-time)
Time when the Access Bundle was last updated. An RFC3339 formatted datetime string.
Nested Schema : AccessBundleTimeLimit
Type:
object
Time limit definition. Only one of daysLimit, hoursLimit, or dateTimeLimit should be specified.
Show Source
-
daysLimit:
object AccessBundleTimeLimitDays
Time limit definition in days.
-
hoursLimit:
object AccessBundleTimeLimitHours
Time limit definition in hours.
Nested Schema : IdInfo
Type:
object
Generic identifying information object.
Show Source
-
displayName:
string
Display Name of the entity.
-
id:
string
Id of the entity.
-
name:
string
Name of the entity.
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
-
displayName:
string
Display name of the primary Owner.
-
value:
string
Id of the primary Owner.
Nested Schema : AccessBundleTimeLimitDays
Type:
object
Time limit definition in days.
Show Source
-
accessLimitInDays(required):
integer
Minimum Value:
1
Maximum Value:365
Maximum number of days allowed before expiry. -
extensionApprovalWorkflowId(required):
object IdInfo
Generic identifying information object.
-
extensionInDays(required):
integer
Minimum Value:
1
Maximum Value:90
Number of days extensions is allowed. -
notificationInDays(required):
integer
Minimum Value:
1
Maximum Value:30
Number of days when notification should be sent.
Nested Schema : AccessBundleTimeLimitHours
Type:
object
Time limit definition in hours.
Show Source
-
accessLimitInHours(required):
integer
Minimum Value:
1
Maximum Value:24
Maximum number of hours allowed before expiry. -
extensionApprovalWorkflowId(required):
object IdInfo
Generic identifying information object.
-
extensionInHours(required):
integer
Minimum Value:
1
Maximum Value:8
Number of hours extension is allowed. -
notificationInHours(required):
integer
Minimum Value:
1
Maximum Value:24
Number of hours when notification should be sent.
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 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
}
]
}