Update Groups
Update Groups to a Kintone environment.
Up to 100 groups can be updated at a time.
| Method | PUT |
|---|---|
| URL | https://{subdomain}.kintone.com/v1/groups.json |
| Authentication | API Token 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
| Parameter | Value | Required | Description |
|---|---|---|---|
| groups | Array of Objects | Yes | An array of groups objects, containing data of Groups to be updated. |
| groups[].code | String | Yes | The Group code of the Group to be updated. The maximum limit is 128 characters. Empty strings, and characters consisting of only whitespaces are not allowed. |
| groups[].name | String | Yes | The name of the Group. The maximum limit is 128 characters. Empty strings, and characters consisting of only whitespaces are not allowed If omitted or null is specified, the value will not be updated. |
| groups[].description | String | Optional | The description of the Group. The maximum limit is 1000 characters. If omitted or null is specified, the value will not be updated. |
Sample Request
JavaScript using kintone.api()
|
|
curl Sample
|
|
Response Parameters
An empty JSON object will be returned.
Sample Response
|
|
Limitations
- Group's codes cannot be changed.
- It is not recommended to run this API while performing the following operations on the Users & System Administration page:
- Updates to groups on the Groups (or Roles) page
For more information on Groups (or Roles), refer to the following article:
Managing Groups (or Roles) - Importing from a file
- Updates to groups on the Groups (or Roles) page