Creates an organizational unit.
Debugging
Authorization information
Request syntax
POST /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 |
body | object | No | The request body. | |
organizationalUnitName | string | Yes | The name of the organizational unit. | name001 |
parentId | string | Yes | The ID of the parent organizational unit. | ou_wovwffm62xifdziem7an7xxxxx |
organizationalUnitExternalId | string | No | The external ID of the organizational unit. The external ID can be used to map external data to the data of the organizational unit in Employee Identity and Access Management (EIAM) of Identity as a Service (IDaaS). By default, the external ID is the organizational unit ID. For organizational units with the same source type and source ID, each organizational unit has a unique external ID. | ou_wovwffm62xifdziem7an7xxxxx |
description | string | No | The description of the organizational unit. | test organizational unit |
Response parameters
Examples
Sample success responses
JSON
format
{
"organizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx"
}
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 |