Queries the information of Employee Identity and Access Management (EIAM) organizational units by page.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /v2/{instanceId}/{applicationId}/organizationalUnits
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Authorization | string | Yes | The authentication information. Format: Bearer ${access_token}. Example: Bearer ATxxxx. | Bearer AT8csE2seYxxxxxij |
instanceId | string | Yes | The instance ID. | idaas_ue2jvisn35ea5lmthk267xxxxx |
applicationId | string | Yes | The application ID. | app_mkv7rgt4d7i4u7zqtzev2mxxxx |
parentId | string | Yes | The ID of the parent organizational unit. | ou_wovwffm62xifdziem7an7xxxxx |
pageNumber | integer | No | The page number. Default value: 1. | 1 |
pageSize | integer | No | The number of entries per page. Default value: 20. Valid values: 1 to 100. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"totalCount": 1000,
"data": [
{
"instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"organizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx",
"organizationalUnitName": "name001",
"parentId": "ou_wovwffm62xifdziem7an7xxxxx",
"organizationalUnitExternalId": "ou_wovwffm62xifdziem7an7xxxxx",
"organizationalUnitSourceType": "build_in",
"organizationalUnitSourceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"createTime": 1652083425923,
"updateTime": 1652083425923,
"description": "test organizational unit"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-24 | The internal configuration of the API is changed, but the call is not affected | View Change Details |