List Identities
/access-governance/identities/20250331/identities
Request
-
attributeValues: array[string]
Collection Format:
multi
Maximum Number of Items:5
A list of attribute values to use as matching filters. -
attributes: array[string]
Collection Format:
multi
Maximum Number of Items:5
The list of Attributes used to filter. -
bindingOperator: string
A parameter to bind expressions.Default Value:
ALL
Allowed Values:[ "ALL", "ANY" ]
-
consumerFilter: string
A filter for consumer/workforce types.Allowed Values:
[ "CONSUMER", "WORKFORCE" ]
-
keywordContains: array[string]
Collection Format:
multi
Maximum Number of Items:5
The list of keywords to filter on -
limit: integer
Minimum Value:
1
Maximum Value:1000
The maximum number of items to return.Default Value:10
-
operators: array[string]
Collection Format:
multi
Maximum Number of Items:5
A parameter to form logical expressions.-
Allowed Values:
[ "EQ", "NE", "GT", "LT", "GTE", "LTE", "BEFORE", "AFTER", "TO", "FROM", "CONTAINS", "NOT_CONTAINS" ]
-
-
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. -
sortBy: string
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.Default Value:
timeCreated
Allowed Values:[ "timeCreated", "displayName" ]
-
sortOrder: string
The sort order to use, either 'ASC' or 'DESC'.Allowed Values:
[ "ASC", "DESC" ]
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
- application/json
200 Response
-
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.
object
-
items(required):
array items
List of Access Governance Entity items.
array
-
Array of:
object AccessGovernanceEntity
An Access Governance Entity
object
-
entityType(required):
string
The Entity type in Access Governance
-
id(required):
string
The Id for Access Governance Entity
-
isRuleBased:
boolean
Is this identity ruled based
-
name(required):
string
The name for Access Governance Type
-
timeCreated(required):
string(date-time)
Time when entity was created by Access Governance
-
timeUpdated(required):
string(date-time)
Time when entity was last modified by Access Governance
-
type(required):
string
Allowed Values:
[ "IDENTITY", "IDENTITY_COLLECTION", "ORGANIZATION", "ROLE", "PERMISSION", "ACCESS_BUNDLE", "POLICY", "RESOURCE", "CLOUD_RESOURCE", "ACCOUNT", "OWNERSHIP", "APPROVAL_PROCESS", "TARGET", "ACCESS_GUARDRAIL" ]
The Access Governance Entity Type -
value(required):
string
The json schema for Access Governance Type
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 retrieve a list of Identities by submitting a GET request.
cURL Example - Without Query Parameters
curl -i -X \
GET \
-H \
"Authorization:Bearer <your access token>" \
'${service-instance-url}/access-governance/identities/${versionId}/identities'
Rules for Querying Identity Data using attributeValues
- The
attributeValues
parameter works with theattribute
parameter. So, bothattributes
andattributeValues
must be specified and must match in number. - The
keywordContains
andattributeValues
parameters cannot be used in the same query. - The
bindingOperator
determines how multiple attribute conditions are combined.ALL
(all conditions must be true) andANY
, atleast one condition must be true. Operators
define the comparison between an attribute and its value. The default isEQ (equals)
.
Example 1 - With Query Parameters
cURL command to restrict the data and include only Workforce Identities.
curl -i -X GET \
-H "Authorization:Bearer <your access token>" \
'${service-instance-url}/access-governance/identities/${versionId}/identities?consumerFilter=WORKFORCE'
Example 2 - Query Identities with Attributes and Attribute Values
cURL command to query Identities with familyName CONTAINS Clark
and agRisk.value EQ 1
curl -i -X GET \
-H "Authorization:Bearer <your access token>" \
'${service-instance-url}/access-governance/identities/${versionId}/identities?attributes=name.familyName&operators=CONTAINS&attributeValues=Clark&attributes=agRisk.value&operators=EQ&attributeValues=1'
attributes=name.familyName,agRisk.value
: Specifies the attributes to filter on.operators=CONTAINS,EQ
attributeValues=Clark,1
: Provides the corresponding values.
Example 3 - Query Identities with Custom Attributes and Binding Operator and Attribute Values
curl -i -X GET \
-H "Authorization:Bearer <your access token>" \
'${service-instance-url}/access-governance/identities/${versionId}/attributes=customAttributes.Division&operators=EQ&attributeValues=Finance&attributes=agRisk.value&operators=EQ&attributeValues=1&bindingOperator=ALL'
Example of the Response Body
The following example shows the contents of the response body in JSON format, including a list Workforce identities:
{
"items": [
{
"id": "globalId.ICF.xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxx",
"type": "IDENTITY",
"name": "jclark_admin",
"timeCreated": "2025-05-29T13:39:32.244Z",
"timeUpdated": "2025-05-29T13:39:32.244Z",
"entityType": "USER",
"typeDetails": "https://your-api-endpoint/access-governance/identities/yyyyMMdd/types/agcs.Identity",
"attributes": [
{
"name": "agTerminated",
"value": false
}
],
"value": "{\"name\":{\"familyName\":\"Clark\",\"givenName\":\"James\"},\"userName\":\"jclark_admin\",\"displayName\":\"James Clark\",\"primaryEmail\":\"jclark_admin@example.com\",\"employeeNumber\":\"JCLARK123\",\"status\":\"Active\",\"emails\":[{\"value\":\"jclark_admin@example.com\"}],\"addresses\":[{}],\"agStatus\":\"AG_ACTIVE\",\"agSubType\":\"WORKFORCE\",\"agRisk\":{\"value\":1,\"customAttributes\":{}},\"customAttributes\":{\"Company\":\"TestCorp\",\"BadgeNumber\":\"123\"},\"id\":\"globalId.ICF.xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxx\",\"externalId\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"meta\":{\"resourceType\":\"USER\",\"created\":1748525972244,\"lastModified\":1748525972244,\"version\":\"1\",\"location\":\"\"}}"
},
{
"id": "globalId.ICF.xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxx",
"type": "IDENTITY",
"name": "bclark_user",
"timeCreated": "2025-05-29T13:39:32.244Z",
"timeUpdated": "2025-05-29T13:39:32.244Z",
"entityType": "USER",
"typeDetails": "https://your-api-endpoint/access-governance/identities/yyyyMMdd/types/agcs.Identity",
"attributes": [
{
"name": "agTerminated",
"value": false
}
],
"value": "{\"name\":{\"familyName\":\"Clark\",\"givenName\":\"Bill\"},\"userName\":\"bclark_user\",\"displayName\":\"Bill Clark\",\"primaryEmail\":\"bclark_user@example.com\",\"status\":\"Active\",\"emails\":[{\"value\":\"bclark_user@example.com\"}],\"addresses\":[{}],\"agStatus\":\"AG_ACTIVE\",\"agSubType\":\"WORKFORCE\",\"agRisk\":{\"value\":1,\"customAttributes\":{}},\"customAttributes\":{\"Company\":\"TestCorp\",\"BadgeNumber\":\"456\"},\"id\":\"globalId.ICF.xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxx\",\"externalId\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"meta\":{\"resourceType\":\"USER\",\"created\":1748525972244,\"lastModified\":1748525972244,\"version\":\"1\",\"location\":\"\"}}"
}
]
}