Update User Codes
Updates user codes of users.
Method | PUT |
---|---|
URL | https://{subdomain}.kintone.com/v1/users/codes.json |
Authentication | Password Authentication, Session Authentication |
Content-Type | application/json |
Contents
Permissions
Only Administrators can use this API.
For more information on Administrators, refer to the following article:
Types of Administrators
Request Parameters
A "codes" array consisting of an object formed by the below properties is to be specified in the request. User Codes of up to 100 users can be updated.
Parameter | Value | Required | Description |
---|---|---|---|
currentCode | String | Yes | The current User Code (log-in name). The maximum limit is 128 characters. Values consisting of only whitespaces or null are not allowed. |
newCode | String | Yes | The new User Code (log-in name). The maximum limit is 128 characters. Values consisting of only whitespaces or null are not allowed. |
Sample Request
|
|
XMLHttpRequest
|
|
Response Parameters
An empty JSON object will be returned.
Sample Response
|
|
Limitations
- It is not recommended run this API while performing the following operations on the Users & System Administration page:
- Updates to users on the Departments & Users page
For more information on Departments & Users, refer to the following article:
Managing Users - Importing from a file
- Updates to users on the Departments & Users page