Update the Identity Collection identified by the id

put

/access-governance/access-controls/20250331/identityCollections/{identityCollectionId}

Updates the Identity Collection

Request

Path Parameters
Header Parameters
  • The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Body ()
The information to be updated.
Root Schema : UpdateIdentityCollectionDetails
Type: object
The information to be updated.
Show Source
Nested Schema : AGRiskModel
Type: object
The riskLevel holder for Access Governance Entity
Show Source
Nested Schema : customAttributes
Type: object
Metadata associated with the Identity Collection.
Show Source
Nested Schema : excludedIdentities
Type: array
List of excluded identities.
Show Source
Nested Schema : includedIdentities
Type: array
List of included identities.
Show Source
Nested Schema : orchestratedSystemMetadataAttributes
Type: array
List of Orchestrated System configuration.
Show Source
Nested Schema : owners
Type: array
List of owner entities.
Show Source
Nested Schema : tags
Type: array
List of tags attached to the Identity Collection.
Show Source
Nested Schema : customAttributes
Type: object
Metadata associated with the riskLevel of Access Governance Entity
Show Source
Nested Schema : IdInfo
Type: object
Generic identifying information object.
Show Source
Nested Schema : OrchestratedSystemMetadataAttributes
Type: object
Orchestrated System Metadata Attributes model.
Show Source
Nested Schema : OrchestratedSystemAttributes
Type: object
The information about Orchestrated System attributes metadata
Show Source
Nested Schema : items
Type: array
collection of account & permission attributes
Show Source
Nested Schema : OrchestratedSystemAttribute
Type: object
Account & permission attributes
Show Source
Nested Schema : accountAttributes
Type: array
List of Orchestrated System account attributes
Show Source
Nested Schema : Info
Type: object
Generic information object.
Show Source
Nested Schema : permissionAttributes
Type: array
List of Orchestrated System permission attributes
Show Source
Nested Schema : OrchestratedSystemAttributeData
Type: object
Orchestrated System Attributes
Show Source
Nested Schema : children
Type: array
nested attributes
Show Source
Nested Schema : defaultValues
Type: array
Attribute Value
Show Source
Nested Schema : NestedAttributes
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
Back to Top

Response

Supported Media Types

200 Response

The Identity group was successfully updated.
Headers
  • For optimistic concurrency control. See `if-match`.
  • 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 : IdentityCollectionResponse
Type: object
Identity Collection model.
Show Source
Nested Schema : IdInfo
Type: object
Generic identifying information object.
Show Source
Nested Schema : customAttributes
Type: object
Metadata associated with the policy rule.
Show Source
Nested Schema : excludedIdentities
Type: array
List of the excluded identities.
Show Source
Nested Schema : finalIdentities
Type: array
List of the final Identities.
Show Source
Nested Schema : includedIdentities
Type: array
List of the included identities.
Show Source
Nested Schema : orchestratedSystemMetadataAttributes
Type: array
List of Orchestrated System configuration.
Show Source
Nested Schema : owners
Type: array
List of owner entities.
Show Source
Nested Schema : ParsedIdentityRuleResponse
Type: object
Parsed membership rule object.
Show Source
Nested Schema : parsedMembers
Type: array
List of the parsed Identities.
Show Source
Nested Schema : tags
Type: array
List of tags attached to the Identity Collection.
Show Source
Nested Schema : IdentitySummary
Type: object
Identity Summary.
Show Source
Nested Schema : agOrganizations
Type: array
The AGOrganizations of which the identity is part of.
Show Source
Nested Schema : OrchestratedSystemMetadataAttributes
Type: object
Orchestrated System Metadata Attributes model.
Show Source
Nested Schema : OrchestratedSystemAttributes
Type: object
The information about Orchestrated System attributes metadata
Show Source
Nested Schema : items
Type: array
collection of account & permission attributes
Show Source
Nested Schema : OrchestratedSystemAttribute
Type: object
Account & permission attributes
Show Source
Nested Schema : accountAttributes
Type: array
List of Orchestrated System account attributes
Show Source
Nested Schema : Info
Type: object
Generic information object.
Show Source
Nested Schema : permissionAttributes
Type: array
List of Orchestrated System permission attributes
Show Source
Nested Schema : OrchestratedSystemAttributeData
Type: object
Orchestrated System Attributes
Show Source
Nested Schema : children
Type: array
nested attributes
Show Source
Nested Schema : defaultValues
Type: array
Attribute Value
Show Source
Nested Schema : NestedAttributes
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 : attributeConditions
Type: array
Attribute condition
Show Source
Nested Schema : AttributeConditionResponse
Type: object
Attribute condition.
Show Source
Nested Schema : values
Type: array
Attribute Values for Multi Value operators
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 update an identity collection. In this example, as an extension to the create example, we will exclude a few members from the identity collection.

Note:

Generate Access Token using grant_type = password or use Authorization Code.

cURL Example

curl -i -L -X PUT \
   -H "Authorization:Bearer <your-access-token>" \
   -H "Content-Type:application/json" \
   -d \
'{
  "name": "Networking Team",
  "description": "Networking Team for Infrastructure",
  "includedIdentities": [],
  "membershipRule": "all { domainOCID EQ ocid1.domain.oc1..aaaaaaaa64xxxxxxgsgdxn36e6pcunmzktgka }",
  "excludedIdentities": [
    {
      "id": "globalId.OCI.1245xxxx-b600-48eb-a9b1-xxxxxxxxxxxx",
      "name": "Michael Carter"
    }
  ],
  "owners": [
    {
      "id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.daxxxxxx",
      "name": "Sophia Johnson",
      "isPrimary": true
    }
  ],
  "tags": [
    "Networking Infrastructure"
  ],
  "displayName": "Networking Team",
  "isManagedAtOrchestratedSystem": false
}' \
 '<${service-instance-url}/access-governance/access-controls/20250331/identityCollections/${identityCollectionsID}>'

Example Request Payload

{
  "name": "Networking Team",
  "description": "Networking Team for Infrastructure",
  "includedIdentities": [],
  "membershipRule": "all { domainOCID EQ ocid1.domain.oc1..aaaaaaaa64xxxxxxgsgdxn36e6pcunmzktgka }",
  "excludedIdentities": [
    {
      "id": "globalId.OCI.1245xxxx-b600-48eb-a9b1-xxxxxxxxxxxx",
      "name": "Michael Carter"
    }
  ],
  "owners": [
    {
      "id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.daxxxxxx",
      "name": "Sophia Johnson",
      "isPrimary": true
    }
  ],
  "tags": [
    "Networking Infrastructure"
  ],
  "displayName": "Networking Team",
  "isManagedAtOrchestratedSystem": false
}

Example of the Response Body

The following example shows the contents of the response body in JSON format:

{
    "id": "1d8fxxxx-acee-45b1-a6ca-18b9xxxxx",
    "name": "Networking Team",
    "description": "Networking Team for Infrastructure",
    "status": "ACTIVE",
    "orchestratedSystemId": null,
    "membershipRule": "all { domainOCID EQ ocid1.domain.oc1..aaaaaaaa64xxxxxxgsgdxn36e6pcunmzktgka }",
    "parsedMembers": null,
    "parsedIdentityRule": {
        "bindingOperator": "ALL",
        "parsedOn": "2550790010577879",
        "attributeConditions": [
            {
                "attrKey": {
                    "id": "domainOCID",
                    "name": "Domain OCID",
                    "displayName": "Domain OCID"
                },
                "operator": {
                    "id": "EQ",
                    "name": "EQ",
                    "displayName": "Equals"
                },
                "attrValue": "ocid1.domain.oc1..aaaaaaaa64xxxxxxgsgdxn36e6pcunmzktgka",
                "attrType": "string",
                "parentType": null,
                "parentId": null,
                "values": null
            }
        ]
    },
    "includedIdentities": [],
    "excludedIdentities": [
        {
            "id": "globalId.OCI.1245xxxx-b600-48eb-a9b1-xxxxxxxxxxxx",
            "name": "Michael Carter",
            "userLogin": "michael.carter@example.com",
            "email": "michael.carter@example.com",
            "manager": null,
            "organization": null,
            "isRuleBased": false,
            "jobCode": null,
            "location": null,
            "employeeType": null,
            "agOrganizations": null
        }
    ],
    "ownershipCollectionId": "6687xxxx-6db7-4dc4-bb6f-5ceaxxxxx",
    "owners": [
        {
            "id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.daxxxxxx",
            "name": "Sophia Johnson",
            "isPrimary": true
        }
    ],
    "createdBy": {
        "id": "clientId.AG-xxxxxx-cm-jun-28-xxxxx_APPID.AG-xxxxxx-cm-jun-28-xxxxx",
        "name": "clientId.AG-xxxxxx-cm-jun-28-xxxxx_APPID.AG-xxxxxx-cm-jun-28-xxxxx",
        "displayName": "System Generated"
    },
    "updatedBy": {
        "id": "clientId.AG-xxxxxx-cm-jun-28-xxxxx_APPID.AG-xxxxxx-cm-jun-28-xxxxx",
        "name": "clientId.AG-xxxxxx-cm-jun-28-xxxxx_APPID.AG-xxxxxx-cm-jun-28-xxxxx",
        "displayName": "System Generated"
    },
    "timeCreated": "2025-06-13T08:40:44.592Z",
    "timeUpdated": "2025-06-13T09:02:31.972Z",
    "identityGroupType": "HUMAN",
    "finalIdentities": [],
    "tags": [
        "Networking Infrastructure"
    ],
    "customAttributes": null,
    "externalId": null,
    "displayName": "Networking Team",
    "isManagedAtOrchestratedSystem": false,
    "orchestratedSystemMetadataAttributes": []
}
Back to Top