Update Department Codes
Updates department codes of departments.
Method | PUT |
---|---|
URL | https://{subdomain}.kintone.com/v1/organizations/codes.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 Objects | Yes | An array of codes objects, containing data of Departments codes that will be updated. Up to 100 codes objects can be specified. |
codes[].currentCode | String | Yes | The Department code that will be updated. Must be 128 characters or less. An existing Department code must be specified. |
codes[].newCode | String | Yes | The new Department code. Must be 128 characters or less. A Department Code that does not exist must be specified. |
Sample Request
|
|
curl Sample
|
|
Sample Response
|
|