Creates a new Identity Collection
/access-governance/access-controls/20250331/identityCollections
Request
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
object
-
customAttributes:
object customAttributes
Metadata associated with the identity collection.
-
description:
string
Minimum Length:
1
Maximum Length:255
Description of the Identity Collection. -
displayName:
string
displayName of the Identity Collection.
-
excludedIdentities:
array excludedIdentities
List of excluded identities.
-
externalId:
string
externalId of the Identity Collection.
-
includedIdentities:
array includedIdentities
List of the included identities.
-
isManagedAtOrchestratedSystem:
boolean
Boolean value checking if IC is shared with Orchestrated System.
-
membershipRule:
string
Minimum Length:
1
Maximum Length:255
Membership Rule for the Identity Collection, for ex. "all { department EQ AG Department , addresses.country EQ India }". -
name(required):
string
Minimum Length:
1
Maximum Length:255
Name of the Identity Collection. -
orchestratedSystemId:
string
Orchestrated System Id of the Identity Collection.
-
orchestratedSystemMetadataAttributes:
array orchestratedSystemMetadataAttributes
List of Orchestrated System configuration.
-
owners:
array owners
List of owner entities.
-
tags:
array tags
List of tags attached to the Identity Collection.
object
array
-
Array of:
object IdInfo
Generic identifying information object.
array
-
Array of:
object IdInfo
Generic identifying information object.
array
-
Array of:
object OrchestratedSystemMetadataAttributes
Orchestrated System Metadata Attributes model.
array
-
Array of:
object OwnerSummary
Owner entity object
object
-
displayName:
string
Display Name of the entity.
-
id:
string
Id of the entity.
-
name:
string
Name of the entity.
object
-
attributes:
object OrchestratedSystemAttributes
The information about Orchestrated System attributes metadata
-
id(required):
string
id of target.
-
label:
string
label of target.
object
-
items(required):
array items
collection of account & permission attributes
array
-
Array of:
object OrchestratedSystemAttribute
Account & permission attributes
object
-
accountAttributes:
array accountAttributes
List of Orchestrated System account attributes
-
orchestratedSystem:
object Info
Generic information object.
-
permissionAttributes:
array permissionAttributes
List of Orchestrated System permission attributes
array
-
Array of:
object OrchestratedSystemAttributeData
Orchestrated System Attributes
object
-
displayName:
string
Display Name of the entity.
-
id:
string
id of the entity.
-
name:
string
name of the entity.
array
-
Array of:
object OrchestratedSystemAttributeData
Orchestrated System Attributes
object
-
children:
array children
nested attributes
-
defaultValues:
array defaultValues
Attribute Value
-
discriminator:
string
this field signify attribute field is password
-
lookupType:
string
LookupID for the attribute
-
name:
string
Attribute name
-
permissionType:
string
Permission Type
-
title:
string
Display Name for the attribute.
-
type:
string
Type of attribute
array
-
Array of:
object NestedAttributes
Nested set of Orchestrated System attributes
object
-
items:
array items
Orchestrated System attributes
array
-
Array of:
object OrchestratedSystemAttributeData
Orchestrated System Attributes
object
-
id(required):
string
Unique identifier that is immutable on creation
-
isPrimary(required):
boolean
Is this entity the primary owner?
-
name(required):
string
Name of the owner
Response
- application/json
200 Response
-
etag: string
For optimistic concurrency control. See `if-match`.
-
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.
object
-
createdBy:
object IdInfo
Generic identifying information object.
-
customAttributes:
object customAttributes
Metadata associated with the policy rule.
-
description:
string
Description of the Identity Collection.
-
displayName:
string
displayName of the Identity Collection.
-
excludedIdentities:
array excludedIdentities
List of the excluded identities.
-
externalId:
string
externalId of the Identity Collection.
-
finalIdentities:
array finalIdentities
List of the final Identities.
-
id(required):
string
Unique identifier that is immutable on creation.
-
identityGroupType:
string
Minimum Length:
1
Maximum Length:255
Type of the Identity Collection. -
includedIdentities:
array includedIdentities
List of the included identities.
-
isManagedAtOrchestratedSystem:
boolean
Boolean value checking if IC is shared with Orchestrated Systems.
-
membershipRule:
string
Membership Rule for the Identity Collection, for ex. "all { department EQ AG Department , addresses.country EQ India }".
-
name:
string
Name of the Identity Collection.
-
orchestratedSystemId:
string
Orchestrated System Id associated with the Identity Collection.
-
orchestratedSystemMetadataAttributes:
array orchestratedSystemMetadataAttributes
List of Orchestrated System configuration.
-
owners:
array owners
List of owner entities.
-
ownershipCollectionId:
string
Ownership collection associate with the Identity Collection.
-
parsedIdentityRule:
object ParsedIdentityRuleResponse
Parsed membership rule object.
-
parsedMembers:
array parsedMembers
List of the parsed Identities.
-
status:
string
Allowed Values:
[ "ACTIVE", "DRAFT", "INACTIVE", "PENDING", "FAILED", "IN_PROGRESS", "SAVED", "SUCCESS", "TIMEOUT" ]
Status of the Identity Group. -
tags:
array tags
List of tags attached to the Identity Collection.
-
timeCreated:
string(date-time)
Time when the Identity Collection was created. An RFC3339 formatted datetime string
-
timeUpdated:
string(date-time)
Time when the Identity Collection was last updated. An RFC3339 formatted datetime string
-
updatedBy:
object IdInfo
Generic identifying information object.
object
-
displayName:
string
Display Name of the entity.
-
id:
string
Id of the entity.
-
name:
string
Name of the entity.
array
-
Array of:
object IdentitySummary
Identity Summary.
array
-
Array of:
object IdentitySummary
Identity Summary.
array
-
Array of:
object IdentitySummary
Identity Summary.
array
-
Array of:
object OrchestratedSystemMetadataAttributes
Orchestrated System Metadata Attributes model.
array
-
Array of:
object OwnerSummary
Owner entity object
object
-
attributeConditions:
array attributeConditions
Attribute condition
-
bindingOperator:
string
Binding operator
-
parsedOn:
string
Parsed On timestamp as string.
array
-
Array of:
object IdentitySummary
Identity Summary.
object
-
agOrganizations:
array agOrganizations
The AGOrganizations of which the identity is part of.
-
email:
string
The Unique Oracle ID (OCID) that is immutable on creation.
-
employeeType:
string
The employeeType of the identitiy.
-
id(required):
string
The Unique Oracle ID (OCID) that is immutable on creation.
-
isRuleBased:
boolean
(optional parameter) Is this identity ruled based.
-
jobCode:
string
The jobCode of the identity.
-
location:
string
The location of the identitiy.
-
manager:
string
The Unique Oracle ID (OCID) that is immutable on creation.
-
name:
string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
-
organization:
string
The Unique Oracle ID (OCID) that is immutable on creation.
-
userLogin:
string
The Unique Oracle ID (OCID) that is immutable on creation.
array
object
-
attributes:
object OrchestratedSystemAttributes
The information about Orchestrated System attributes metadata
-
id(required):
string
id of target.
-
label:
string
label of target.
object
-
items(required):
array items
collection of account & permission attributes
array
-
Array of:
object OrchestratedSystemAttribute
Account & permission attributes
object
-
accountAttributes:
array accountAttributes
List of Orchestrated System account attributes
-
orchestratedSystem:
object Info
Generic information object.
-
permissionAttributes:
array permissionAttributes
List of Orchestrated System permission attributes
array
-
Array of:
object OrchestratedSystemAttributeData
Orchestrated System Attributes
object
-
displayName:
string
Display Name of the entity.
-
id:
string
id of the entity.
-
name:
string
name of the entity.
array
-
Array of:
object OrchestratedSystemAttributeData
Orchestrated System Attributes
object
-
children:
array children
nested attributes
-
defaultValues:
array defaultValues
Attribute Value
-
discriminator:
string
this field signify attribute field is password
-
lookupType:
string
LookupID for the attribute
-
name:
string
Attribute name
-
permissionType:
string
Permission Type
-
title:
string
Display Name for the attribute.
-
type:
string
Type of attribute
array
-
Array of:
object NestedAttributes
Nested set of Orchestrated System attributes
object
-
items:
array items
Orchestrated System attributes
array
-
Array of:
object OrchestratedSystemAttributeData
Orchestrated System Attributes
object
-
id(required):
string
Unique identifier that is immutable on creation
-
isPrimary(required):
boolean
Is this entity the primary owner?
-
name(required):
string
Name of the owner
array
-
Array of:
object AttributeConditionResponse
Attribute condition.
object
-
attrKey:
object IdInfo
Generic identifying information object.
-
attrType:
string
Attribute Type
-
attrValue:
string
Attribute Value
-
operator:
object IdInfo
Generic identifying information object.
-
parentId:
string
Parent Id
-
parentType:
string
Parent Type
-
values:
array values
Attribute Values for Multi Value operators
400 Response
-
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.
object
-
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
-
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.
object
-
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
-
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.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
409 Response
-
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.
object
-
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
-
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.
object
-
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
-
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.
object
-
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
-
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.
object
-
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 create an Identity Collection in Oracle Access Governance. Replace placeholder values with actual values before running the sample command. If no identities are included in an identity collection, then a new identity collection is created with the Failed status.
Note:
Generate Access Token usinggrant_type = password
or Authorization code.
Before creating an identity collection, run List Identities - [GET] {BasePath}/identities for fetching the required data.
cURL Request Example - Only Named Identities
curl -i -X POST \
-H "Authorization:Bearer <your-access-token>" \
-H "Content-Type:application/json" \
-d \
'{
"name": "HR Operations Test Team",
"description": "Human Resources Operations Department",
"includedIdentities": [
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.6axxxxxx",
"name": "john.doe@example.com",
"displayName": "John Doe"
},
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.17xxxxxx",
"name": "emma.smith@example.com",
"displayName": "Emma Smith"
}
],
"membershipRule": "",
"excludedIdentities": [],
"owners": [
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.daxxxxxx",
"name": "Sophia Johnson",
"isPrimary": true
}
],
"tags": [
"HR Operations"
],
"displayName": "HR Operations Team",
"isManagedAtOrchestratedSystem": false
}' \
'<${service-instance-url}/access-governance/access-controls/${version}/identityCollections>'
Example Request Payload - Only Named Identities
{
"name": "HR Operations Test Team",
"description": "Human Resources Operations Department",
"includedIdentities": [
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.6axxxxxx",
"name": "john.doe@example.com",
"displayName": "John Doe"
},
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.17xxxxxx",
"name": "emma.smith@example.com",
"displayName": "Emma Smith"
}
],
"membershipRule": "",
"excludedIdentities": [],
"owners": [
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.daxxxxxx",
"name": "Sophia Johnson",
"isPrimary": true
}
],
"tags": [
"HR Operations"
],
"displayName": "HR Operations Team",
"isManagedAtOrchestratedSystem": false
}
Example of the Response Code
It may take a few seconds to create an identity collection. Do not try to abort the request.
You'll receive 200 OK response along with the following response body:
{
"id": "58e7xxxx-46b9-4f8b-81ee-ed30xxxxxx",
"name": "HR Operations Team",
"description": "Human Resources Operations Department",
"status": "ACTIVE",
"orchestratedSystemId": null,
"membershipRule": "",
"parsedMembers": [],
"parsedIdentityRule": null,
"includedIdentities": [
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.6axxxxxx",
"name": "john.doe@example.com",
"userLogin": "john.doe@example.com",
"email": "john.doe@example.com",
"manager": null,
"organization": null,
"isRuleBased": false,
"jobCode": null,
"location": null,
"employeeType": null,
"agOrganizations": null
},
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.17xxxxxx",
"name": "emma.smith@example.com",
"userLogin": "emma.smith@example.com",
"email": "emma.smith@example.com",
"manager": null,
"organization": null,
"isRuleBased": false,
"jobCode": null,
"location": null,
"employeeType": null,
"agOrganizations": null
}
],
"excludedIdentities": [],
"ownershipCollectionId": "ff0bxxxx-78a2-4741-88c3-277xxxxx3d4b",
"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-12T16:05:33.569Z",
"timeUpdated": "2025-06-12T16:05:33.569Z",
"identityGroupType": "HUMAN",
"finalIdentities": null,
"tags": ["HR Operations"],
"customAttributes": null,
"externalId": null,
"displayName": "HR Operations Team",
"isManagedAtOrchestratedSystem": false,
"orchestratedSystemMetadataAttributes": []
}
Example Request Payload - Using Membership Rules
{
"name": "Networking Group",
"description": "Networking Team for Infrastructure",
"includedIdentities": [],
"membershipRule": "all { department EQ 0865 , agOrganizations.displayName EQ Network Administrators }",
"excludedIdentities": [],
"owners": [
{
"id": "globalId.OCI.f101xxxx-xxxx-xxxx-xxxx-xxxx3765xxxx.daxxxxxx",
"name": "Ama Maclead",
"isPrimary": true
}
],
"tags": [
"Networking Infrastructure"
],
"displayName": "Networking Team",
"isManagedAtOrchestratedSystem": false
}
Example of the Response Code
It may take a few seconds to create a role. Do not try to abort the request.
You'll receive 200 OK response along with the following response body:
{
"id": "1d8fxxxx-acee-45b1-a6ca-18b9xxxxx",
"name": "Networking Team",
"description": "Networking Team for Infrastructure",
"status": "IN_PROGRESS",
"orchestratedSystemId": null,
"membershipRule": "all { department EQ 0865 , agOrganizations.displayName EQ Network Administrators }",
"parsedMembers": null,
"parsedIdentityRule": {
"bindingOperator": "ALL",
"parsedOn": "2549970323079902",
"attributeConditions": [
{
"attrKey": {
"id": "department",
"name": "Department",
"displayName": "Department"
},
"operator": {
"id": "EQ",
"name": "EQ",
"displayName": "Equals"
},
"attrValue": "0865",
"attrType": "string",
"parentType": null,
"parentId": null,
"values": null
},
{
"attrKey": {
"id": "agOrganizations.displayName",
"name": "Organization",
"displayName": "Organization"
},
"operator": {
"id": "EQ",
"name": "EQ",
"displayName": "Equals"
},
"attrValue": "Network Administrators",
"attrType": "string",
"parentType": null,
"parentId": "agOrganizations",
"values": null
}
]
},
"includedIdentities": [],
"excludedIdentities": [],
"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-13T08:40:44.592Z",
"identityGroupType": "HUMAN",
"finalIdentities": null,
"tags": [
"Networking Infrastructure"
],
"customAttributes": null,
"externalId": null,
"displayName": "Networking Team",
"isManagedAtOrchestratedSystem": false,
"orchestratedSystemMetadataAttributes": []
}