Add Groups
Adds Groups to a Kintone environment.
Method | POST |
---|---|
URL | https://{subdomain}.kintone.com/v1/groups.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
Parameter | Value | Required | Description |
---|---|---|---|
groups | Array of Objects | Yes | An array of groups objects, containing data of Groups to be added. Up to 100 groups objects can be specified. |
groups[].code | String | Yes | The Group Code. The maximum limit is 128 characters. Values consisting of only whitespaces or null are not allowed. |
groups[].name | String | Yes | The name of the Group. The maximum limit is 128 characters. |
groups[].type | String | Yes | The type of the Group. Either "static" or "dynamic" must be specified. |
groups[].description | String | Optional | The description of the Group. The maximum limit is 1000 characters. |
Sample Request
|
|
curl Sample
|
|
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 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