Obtains the organizational units (OUs) of an Active Directory (AD) domain that is connected to an enterprise AD office network (formerly workspace).
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
OfficeSiteId | string | Yes | The enterprise AD office network ID. | cn-hangzhou+dir-485361**** |
Filter | string | No | The string that you enter for fuzzy search. | develop |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request or if no next request exists. You must specify the token that is obtained from the previous query as the value of NextToken. | CAAAAA== |
MaxResults | integer | No | The maximum number of entries to return on each page. Valid values: 1 to 500. Default value: 500. | 100 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"OUNames": [
{
"OfficeSiteId": "cn-hangzhou+dir-485361****",
"OUName": "example.com/wuying_computers",
"DisplayOUName": "wuying_computers"
}
],
"NextToken": "CAAAAA=="
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2021-08-23 | Add Operation | View Change Details |