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
Query Parameters
  • Collection Format: multi
    Maximum Number of Items: 5
    The list of keywords to filter on
  • Minimum Value: 1
    Maximum Value: 100
    The maximum number of items to return.
    Default Value: 10
  • 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.
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 List of members of given Organization was successfully queried.
Headers
  • 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.
  • 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 : AccessGovernanceTypeCollection
Type: object
A list of the Access Governance Types.
Show Source
Nested Schema : items
Type: array
List of Access Governance Types items.
Show Source
Nested Schema : AccessGovernanceEntity
Type: object
The Access Governance Entity.
Show Source
  • attributes
    Optional fields for entities.
  • Allowed Values: [ "IDENTITY_GROUP", "GROUP", "META_POLICY", "TARGET_POLICY", "PM_ROLE", "ROLE", "ORGANIZATION", "IDENTITY_COLLECTION", "TARGET", "CLOUD_ACCOUNT", "APPLICATION", "RESOURCES", "PERMISSIONS", "PERMISSION_ASSIGNMENTS", "PERMISSION_TYPE", "ACCOUNT", "POLICY", "IDENTITY", "RESOURCE_ENTITY", "RESOURCE", "PERMISSION_COLLECTION", "PERMISSION_REQUEST", "GLOBAL_IDENTITY_COLLECTION", "AG_ORGANIZATION", "ACTIVE_GROUP", "CONSUMER_GROUP", "ACCESS_BUNDLE", "CLOUD_RESOURCE", "USER", "WORKLOAD", "ACCESS_GUARDRAIL", "CAMPAIGN", "UNKNOWN_SOURCE_ENTITY_TYPE" ]
    The Source Entity Type in Access Governance.
  • The Id for the Access Governance Entity.
  • The Name for the Access Governance Type.
  • Time when the Access Bundle was created. An RFC3339 formatted datetime string.
  • Time when the Access Bundle was last updated. An RFC3339 formatted datetime string.
  • Allowed Values: [ "IDENTITY", "IDENTITY_COLLECTION", "ORGANIZATION", "ROLE", "PERMISSION", "ACCESS_BUNDLE", "POLICY", "RESOURCE", "CLOUD_RESOURCE", "ACCOUNT", "OWNERSHIP", "APPROVAL_PROCESS", "TARGET", "ACCESS_GUARDRAIL", "ROLE_APPROVERS", "ACCESS_BUNDLE_APPROVERS", "TARGET_IDENTITY", "CAMPAIGN", "TARGET_PERMISSION" ]
    The Access Governance Entity Type.
  • A resource that describes the type schema.
  • The json schema for the Access Governance Type.
Nested Schema : attributes
Type: array
Optional fields for entities.
Show Source
Nested Schema : AttributeOptionalField
Type: object
An optional Attribute field.
Show Source
Nested Schema : value
Type: object
Value of the field.
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

409 Response

Conflict
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 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
    }
  ]
}
Back to Top