Manage AD OUs with the KopiCloud AD API»
Manage AD Organization Units (OUs) in Microsoft Active Directory using the KopiCloud AD API
List All AD OUs»
GET /api/OU/All
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| ListContainers | boolean | List All AD Containers, Including Hidden and System Containers (Default = value) | No | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10 11 12  |  | 
Get AD OU Details using the GUID»
GET /api/OU/Guid/Details
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUGuid | string | Organization Unit Guid | Yes | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10  |  | 
Get AD OU Details using the OU Path»
GET /api/OU/Path/Details
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUPath | string | Organization Unit DN Path | Yes | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10  |  | 
Check If the AD OU Exists»
GET /api/OU/Path/Exists
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUPath | string | Organization Unit DN Path | Yes | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4  |  | 
Create an AD OU»
POST /api/OU
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUName | string | Organization Unit Name | Yes | 
| OUDestinationPath | string | Destination Organization Unit DN Path (Parent) | Yes | 
| OUDescription | string | Organization Unit Description | No | 
| IsProtected | boolean | Protect Organization Unit from Accidental Deletion (Default = value) | No | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10  |  | 
Update an AD OU»
PUT /api/OU
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUPath | string | Organization Unit DN Path | Yes | 
| OUDescription | string | Organization Unit Description | No | 
| IsProtected | boolean | Protect Organization Unit from Accidental Deletion (Default = value) | No | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10  |  | 
Move an AD OU»
PUT /api/OU/Move
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUPath | string | Organization Unit DN Path | Yes | 
| OUDestinationPath | string | Destination Organization DN Path (New Parent OU) | Yes | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10  |  | 
Rename an AD OU»
PUT /api/OU/Rename
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUPath | string | Organization Unit DN Path | Yes | 
| OUNewName | string | Organization Unit New Name | Yes | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10  |  | 
Delete an AD OU»
DELETE /api/OU/Path/Remove
Parameters
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| OUPath | string | Organization Unit DN Path | Yes | 
| Force | boolean | Force Deletion of Protected Organization Unit (Default = value) | No | 
| Auth-Token | string | Bearer or Basic Authentication Token | Yes | 
Return Schema
1 2 3 4 5 6 7 8 9 10  |  |