Gets a list of all identities that are part of organization
get
/access-governance/service-administration/20250331/organizations/{organizationId}/members
Returns list of members for a given organization with support for pagination.
Request
Path Parameters
-
organizationId(required): string
The unique id for an Organization. Available values can be found using the ListOrganizations operation.
Query Parameters
-
keywordContains: array[string]
Collection Format:
multiMaximum Number of Items:5The list of keywords to filter on -
limit: integer
Minimum Value:
1Maximum Value:1000The maximum number of items to return.Default Value:10 -
page: string
Minimum Length:
1A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
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
The List of members of given Organization was successfully queried.
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 : AccessGovernanceTypeCollection
Type:
objectA list of Access Governance Entity items.
Show Source
-
items(required):
array items
List of Access Governance Entity items.
Nested Schema : items
Type:
arrayList of Access Governance Entity items.
Show Source
-
Array of:
object AccessGovernanceEntity
An Access Governance Entity
Nested Schema : AccessGovernanceEntity
Type:
objectAn Access Governance Entity
Show Source
-
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
-
violationDetails(required):
object ViolationDetails
The Violation details object
Nested Schema : ViolationDetails
Type:
objectThe Violation details object
Show Source
-
accessGuardrailViolationId(required):
string
The access guardrail violation id
-
violationType(required):
string
Allowed Values:
[ "NO_VIOLATION", "LOW_RISK_ACCESS_GUARDRAIL_VIOLATION", "HIGH_RISK_ACCESS_GUARDRAIL_VIOLATION", "VIOLATION_NOT_AVAILABLE" ]The Violation type in Access Governance
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:
objectError 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:
objectError 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:
objectError 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.
409 Response
Conflict
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:
objectError 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:
objectError 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:
objectError 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:
objectError 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 identities for an organization. You can use the member listing for an organization to submit an access request limited to members of an organization.
cURL Example - Without Query Parameters
curl -i -X GET \
-H "Authorization:Bearer <your access token>" \
'${si}/access-governance/service-administration/${version}/organizations/${organizationId}/members'Example of the Response Body
The following example shows the contents of the response body in JSON format:
{
"items": [
{
"id": "globalId.xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"type": "IDENTITY",
"name": "JDOE@EXAMPLE.COM",
"timeCreated": "2024-09-09T12:09:09.126Z",
"timeUpdated": "2024-09-09T12:09:09.126Z",
"isRuleBased": false,
"entityType": "USER",
"value": "{\"name\":{\"familyName\":\"Doe\",\"givenName\":\"John\"},\"userName\":\"JDOE@EXAMPLE.COM\",\"displayName\":\"John Doe\",\"description\":\"Sample description\",\"primaryEmail\":\"jdoe@example.com\",\"userType\":\"Contractor\",\"organization\":{\"value\":\"organization.xx.xx.xx.xx.xx\",\"displayName\":\"Engineering\"},\"status\":\"Active\",\"jobCode\":\"JC001\",\"state\":\"CA\",\"risk\":5,\"location\":\"US\",\"emails\":[{\"value\":\"jdoe@example.com\"}],\"addresses\":[{}],\"phoneNumbers\":[{\"display\":\"5551111111\",\"primary\":false,\"type\":\"home\"},{\"display\":\"5552222222\",\"primary\":false,\"type\":\"mobile\"},{\"display\":\"5553333333\",\"primary\":false,\"type\":\"work\"}],\"agStatus\":\"AG_ACTIVE\",\"agSubType\":\"WORKFORCE\",\"agRisk\":{\"value\":1,\"customAttributes\":{}},\"agDelegation\":{\"hasDelegations\":true,\"customAttributes\":{}},\"agTerminate\":{\"terminated\":false,\"customAttributes\":{}},\"domainOCID\":\"ocid1.domain.oc1..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"userNameDb2\":\"JDOEEXAMPLECOM\",\"userNameMysql\":\"JDOEEXAMPLECOM\",\"userNameOracle\":\"JDOE@EXAMPLE.COM\",\"userNameMSSQl\":\"JDOEEXAMPLECOM\",\"agOrganizations\":[{\"value\":\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"displayName\":\"org-mock\",\"customAttributes\":{}}],\"targetId\":\"xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"compartmentId\":\"resource.OCI.xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"domainId\":\"resource.OCI.xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"region\":\"us-west-1\",\"affiliations\":{\"affiliation1\":{\"name\":\"john.doe@example.com\",\"level\":1,\"startDate\":1714456800000}},\"customAttributes\":{\"Division\":\"Mock Division\",\"CarLicense\":\"XX1234\",\"personType\":\"99\",\"ocid\":\"ocid1.user.oc1..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"lastSuccessfulLoginTime\":1752724311712,\"businessGroupId\":\"999\",\"cloudAccountName\":\"mockcloud\",\"saadasd\":{\"familyName\":\"Doe\",\"givenName\":\"John\"},\"timezone\":\"America/Los_Angeles\",\"DateOfJoining\":1594857600000,\"DateOfBirth\":536025600000,\"ActiveStartDate\":\"StartDate\",\"Age\":35.0,\"hnum1\":0,\"LCMCHK\":false,\"isCorrelated\":true,\"commonName\":\"John Doe\",\"BuildingNumber\":\"9999\",\"fullDN\":\"uid\\u003dJDOE@EXAMPLE.COM,ou\\u003dGROUPS,dc\\u003dmock,dc\\u003dcom\",\"compartmentOCID\":\"ocid1.tenancy.oc1..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"Company\":\"MockCorp\",\"HRAddress\":\"123 Mock St\",\"AccountDisabled\":false,\"BadgeNumber\":\"999\",\"AccountLocked\":true,\"compartmentName\":\"mockcompartment\",\"domainName\":\"Default\",\"LCMNUM\":0,\"maritalStatus\":\"S\",\"CC\":\"CC_999\",\"Tags\":\"MockTag\",\"division\":\"DivisionX\",\"myCustom_affiliation_attr\":\"TestAttr\",\"orclGuid\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"Alias\":\"alias_JDOE@EXAMPLE.COM\",\"ActiveEndDate\":\"EndDate\"},\"id\":\"globalId.xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"externalId\":\"xx\",\"schemas\":[],\"meta\":{\"resourceType\":\"USER\",\"created\":1725883749126,\"lastModified\":1725883749126,\"version\":\"1\",\"location\":\"\"}}",
"violationDetails": null
},
{
"id": "globalId.ICF.xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"type": "IDENTITY",
"name": "SANDRA.SMITH@EXAMPLE.COM",
"timeCreated": "2024-11-18T11:48:13.361Z",
"timeUpdated": "2024-11-18T11:48:13.361Z",
"isRuleBased": false,
"entityType": "USER",
"value": "{\"name\":{\"familyName\":\"Smith\",\"givenName\":\"Sandra\"},\"userName\":\"SANDRA.SMITH@EXAMPLE.COM\",\"department\":\"Finance\",\"status\":\"Disabled\",\"jobCode\":\"JC002\",\"emails\":[{}],\"addresses\":[{}],\"agStatus\":\"AG_ACTIVE\",\"agSubType\":\"WORKFORCE\",\"agRisk\":{\"value\":0,\"customAttributes\":{}},\"agDelegation\":{\"hasDelegations\":false,\"customAttributes\":{}},\"agTerminate\":{\"terminated\":false,\"customAttributes\":{}},\"userNameDb2\":\"SANDRASMITHEXAMPLECOM\",\"userNameMysql\":\"SANDRA.SMITH@EXAMPLE.COM\",\"userNameOracle\":\"SANDRA.SMITH@EXAMPLE.COM\",\"userNameMSSQl\":\"SANDRASMITHEXAMPLECOM\",\"agOrganizations\":[{\"value\":\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"displayName\":\"org-finance\",\"customAttributes\":{}},{\"value\":\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"displayName\":\"org-empty\",\"customAttributes\":{}},{\"value\":\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"displayName\":\"org-test\",\"customAttributes\":{}},{\"value\":\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"displayName\":\"org-mock\",\"customAttributes\":{}}],\"targetId\":\"xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"customAttributes\":{\"Division\":\"Finance\",\"saadasd\":{},\"ActiveStartDate\":\"StartDate\",\"Age\":42.0,\"isCorrelated\":true,\"containerDN\":\"OU\\u003dfinance,OU\\u003dcorp,DC\\u003dexample,DC\\u003dcom\",\"fullDN\":\"CN\\u003dSandraSmith,OU\\u003dfinance,OU\\u003dcorp,DC\\u003dexample,DC\\u003dcom\",\"Company\":\"MockCorp\",\"HRAddress\":\"456 Finance Blvd\",\"AccountDisabled\":true,\"BadgeNumber\":\"888\",\"AccountLocked\":true,\"Alias\":\"SANDRA.SMITH_LOC888\",\"ActiveEndDate\":\"EndDate\"},\"id\":\"globalId.ICF.xx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"externalId\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"schemas\":[],\"meta\":{\"resourceType\":\"USER\",\"created\":1731930493361,\"lastModified\":1731930493361,\"version\":\"1\",\"location\":\"\"}}",
"violationDetails": null
}
]
}