Queries the information about organizational units in Identity as a Service (IDaaS) Employee IAM (EIAM) by page.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the instance. | idaas_ue2jvisn35ea5lmthk267xxxxx |
PageNumber | long | No | The number of the page to return. Default value: 1. | 1 |
PageSize | long | No | The number of entries to return on each page. Default value: 20. | 20 |
OrganizationalUnitIds | array | No | The IDs of organizational units. | |
string | No | The ID of organizational unit. | ou_wovwffm62xifdziem7an7xxxxx | |
OrganizationalUnitName | string | No | The name of the organizational unit. | name_001 |
OrganizationalUnitNameStartsWith | string | No | Organization name, matching left | name |
ParentId | string | No | The ID of the parent organizational unit. | ou_wovwffm62xifdziem7an7xxxxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"OrganizationalUnits": [
{
"OrganizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx",
"OrganizationalUnitName": "test_organizationalUnit_name",
"ParentId": "ou_wovwffm62xifdziem7an7xxxxx",
"OrganizationalUnitExternalId": "ou_wovwffm62xifdziem7an7xxxxx",
"OrganizationalUnitSourceType": "build_in",
"OrganizationalUnitSourceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"CreateTime": 1652085686179,
"UpdateTime": 1652085686179,
"Description": "Test organizational unit\n",
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"Leaf": false
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-06-21 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2023-04-04 | The response structure of the API has changed | View Change Details |
2023-03-21 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |