Activate an Access Bundle

patch

/access-governance/access-controls/20250331/accessBundles/{accessBundleId}/activate

Activates an access bundle currently in draft state with a given ID. An error will be returned if the Access Bundle is not currently in DRAFT status.

Request

Path Parameters
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

The activated Access Bundle
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 : AccessBundle
Type: object
Access Bundle object.
Show Source
Nested Schema : accessGuardrails
Type: array
List of access guardrail information attached to the Access Bundle.
Show Source
Nested Schema : IdInfo
Type: object
Generic identifying information object.
Show Source
Nested Schema : customAttributes
Type: object
Metadata associated with the access bundle
Show Source
Nested Schema : OrchestratedSystemAttributeSummary
Type: object
Account & permission attributes
Show Source
Nested Schema : owners
Type: array
List of owner entities
Show Source
Nested Schema : permissions
Type: array
List of permissions
Show Source
Nested Schema : tags
Type: array
List of tags attached to the Access Bundle
Show Source
Nested Schema : AccessGuardrailDetails
Type: object
Access Guardrail object
Show Source
Nested Schema : accountAttributes
Type: array
List of Orchestrated System account attributes
Show Source
Nested Schema : permissionAttributes
Type: array
List of Orchestrated System permission attributes
Show Source
Nested Schema : OrchestratedSystemAttributeDataSummary
Type: object
Orchestrated System Attributes
Show Source
Nested Schema : children
Type: array
nested attributes
Show Source
Nested Schema : values
Type: array
Attribute Values
Show Source
Nested Schema : NestedAttributesSummary
Type: object
Nested set of Orchestrated System attributes
Show Source
Nested Schema : items
Type: array
Orchestrated System attributes
Show Source
Nested Schema : OwnerSummary
Type: object
Owner entity object
Show Source
Nested Schema : PermissionSummary
Type: object
Description of Permission.
Show Source
Nested Schema : PermissionTypeSummary
Type: object
PermissionType Summary.
Show Source
Nested Schema : ResourceSummary
Type: object
Resource Summary.
Show Source
Nested Schema : customAttributes
Type: object
Metadata associated with the resource
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

412 Response

Precondition failed
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 send a patch request to activate an access bundle. After running this API, the Access Bundle status should change from Draft to Active.

cURL Example PATCH

curl -i -X \
 PATCH \
   -H \
 "Authorization:Bearer <your access token>" \
   -d \
'' \
 '${service-instance-url}/access-governance/access-controls/20250331/accessBundles/${accessBundleId}/activate'

Example of the Response Code

You'll receive a 200 OK Response code with the following Response body:

{
  "accessBundleType" : "PERMISSION_BUNDLE",
  "id" : "787190ce-b440-4619-a020-88a1xxx995",
  "name" : "AD-Basic-Permissions",
  "displayName" : "AD-Basic-Permissions",
  "description" : "",
  "tags" : [ "REST API UA" ],
  "timeCreated" : "2025-03-21T16:50:28.624Z",
  "timeUpdated" : "2025-03-21T16:52:02.609Z",
  "createdBy" : {
    "id" : "globalId.125123c3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4xxxxxb44aa046b3ceb16a",
    "name" : "Amel Maclead",
    "displayName" : "Amel Maclead"
  },
  "updatedBy" : {
    "id" : "globalId.125123c3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bccxxx21b44aa046b3ceb16a",
    "name" : "Amel Maclead",
    "displayName" : "Amel Maclead"
  },
  "requestableBy" : {
    "id" : "ANY",
    "name" : "Anyone",
    "displayName" : "Anyone"
  },
  "status" : "ACTIVE",
  "approvalWorkflowId" : {
    "id" : "NO_APPROVAL_REQUIRED",
    "name" : "No Approval Required",
    "displayName" : "No Approval Required"
  },
  "orchestratedSystem" : {
    "id" : "e4aa3f66-9eed-4a25-b8cc-a04c3fb2d84a",
    "name" : "AD System AG_App_Owner_Admin",
    "displayName" : "AD System AG_App_Owner_Admin"
  },
  "orchestratedSystemType" : "ICF",
  "ownershipCollectionId" : "6957a649-308b-408f-b0f1-aa675dcfa07d",
  "owners" : [ {
    "id" : "globalId.125123c3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbxxxxb44aa046b3ceb16a",
    "name" : "Amel Maclead",
    "isPrimary" : true
  } ],
  "externalId" : "ocid1.agcsgovernanceinstance.dev.dev.amaaaaaapzw5rdiaxxxxmf5enb2yzcloj2pbd5ogxaructfrhgbuq7a",
  "cloudAccountName" : null,
  "domainName" : null,
  "resourceType" : null,
  "compartmentName" : null,
  "compartmentFqn" : null,
  "customAttributes" : { },
  "permissions" : [ {
    "id" : "groups.ICF.e4aa3f66-9eed-4a25-b8cc-a04c3fb2d84a.95dexxxxf8af649d7709915e0",
    "name" : "AD_JML_GRP1",
    "description" : null,
    "type" : "ENTITLEMENTS",
    "timeCreated" : "2024-08-12T13:44:07.205Z",
    "timeUpdated" : null,
    "resource" : {
      "id" : "resource.ICF.e4aa3f66-9eed-4a25-b8cc-a04c3fb2d84a.e427xxxxxxxxx7f067fc39be6f",
      "name" : "AD System AG_App_Owner_Admin",
      "displayName" : "AD System AG_App_Owner_Admin",
      "type" : "AD",
      "customAttributes" : null
    },
    "permissionType" : {
      "id" : "etype.ICF.e4aa3f66-9eed-4a25-b8cc-a04c3fb2d84a.936d9xxxxxx01c59cdaeaa3",
      "name" : "icf.connector.entitlement.type.groups",
      "displayName" : "Group",
      "externalId" : "groups"
    }
  }, {
    "id" : "groups.ICF.e4aa3f66-9eed-4a25-b8cc-a04c3fb2d84a.edba9xxxxxx99d1a944",
    "name" : "AD_JML_PERSONAS1",
    "description" : null,
    "type" : "ENTITLEMENTS",
    "timeCreated" : "2024-08-12T14:34:43.034Z",
    "timeUpdated" : null,
    "resource" : {
      "id" : "resource.ICF.e4aa3f66-9eed-4a25-b8cc-a04c3fb2d84a.e427125e46e48xxxxx7fc39be6f",
      "name" : "AD System AG_App_Owner_Admin",
      "displayName" : "AD System AG_App_Owner_Admin",
      "type" : "AD",
      "customAttributes" : null
    },
    "permissionType" : {
      "id" : "etype.ICF.e4aa3f66-9eed-4a25-b8cc-a04c3fb2d84a.936d9be0ce4c3ce91d9401c59cdaeaa3",
      "name" : "icf.connector.entitlement.type.groups",
      "displayName" : "Group",
      "externalId" : "groups"
    }
  } ]
}
    
Back to Top