DeleteSysDept - Delete a department
Use this API to delete a department.
The new Qoder CN documentation site is now available. Content on this site may not reflect the latest product features and changes. Visit docs.qoder.cn for the latest product documentation.
|
Supported editions |
Enterprise Dedicated Edition |
Service endpoints
Get the service endpoint and replace {domain} in the API request syntax with your endpoint.
Authorization
|
Product |
Resource |
Required permission |
|
organization settings |
department |
read and write |
Request syntax
DELETE https://{domain}/oapi/v1/platform/departments/{id}
Request |
Delete department
|
Request headers |
|
|
The access token. See Access token for details. Example: pt-0fh3****0fbG_35af****0484. |
|
Request parameters |
|
|
id The department ID. Obtain this ID by calling the ListSysDepts API. |
Response parameters
None {}
Error codes
For more information, see Error code center.