Retrieves the information about all the parent organizational units of an organizational unit.
Try it now
Test
RAM authorization
Request syntax
GET /v2/{instanceId}/{applicationId}/organizationalUnits/{organizationalUnitId}/parentIds HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| organizationalUnitId |
string |
Yes |
The ID of the organizational unit. |
ou_wovwffm62xifdziem7an7xxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
The authentication information. Format: Bearer ${access_token}. Example: Bearer ATxxxx. |
Bearer AT8csE2seYxxxxxij |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| parentIds |
array |
The IDs of the parent organizational units. The IDs of the organizational unit are ordered based on their levels from high to low. Only the IDs of the organizational units within the authorization scope are displayed. |
[ou_xxx001] |
|
string |
The ID of the organizational unit. |
ou_wovwffm62xifdziem7an7xxxxx |
Examples
Success response
JSON format
{
"parentIds": [
"ou_wovwffm62xifdziem7an7xxxxx"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.