Delete Departments
Deletes Departments from a Kintone environment.
Method | DELETE |
---|---|
URL | https://{subdomain}.kintone.com/v1/organizations.json |
Authentication | Password Authentication , Session Authentication |
Content-Type | application/json |
Permissions
Only Administrators can use this API.
For more information on Administrators, refer to the following article:
Types of Administrators
Request Parameters
Parameter | Value | Required | Description |
---|---|---|---|
codes | Array of Strings | Yes | An array of department codes of departments that will be deleted. Up to 100 codes can be specified. |
Sample Request
Attention
Deleting Departments may result in unintended consequences, such as also deleting child departments. For more information, read through the Notes section of the following Help article:
Deleting Departments
|
|
curl Sample
|
|
Sample Response
|
|