Update Space Members
Updates the Members of a Space.
Method | PUT |
---|---|
URL | https://{subdomain}.kintone.com/k/v1/space/members.json |
URL(guest space) | https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/space/members.json |
Authentication | Password Authentication , Session Authentication |
Content-Type | application/json |
Contents
Permissions
- Only the Space Administrators can use this API.
Request Parameters
Parameter | Value | Required | Description |
---|---|---|---|
id | Integer or String | Yes | The Space ID. |
members | Array | Yes | A list of members of the Space. At least one Space Administrator must be specified. Inactive and deleted users cannot be specified. |
members[].entity | Object | Yes | The entity information of the Space member. Guest users cannot be specified. |
members[].entity.type | String | Yes | The entity type of the Space member.
|
members[].entity.code | String | Yes | The code of the entity. |
members[].isAdmin | Boolean or String | Conditional | The Space Administration settings of the user.
|
members[].includeSubs | Boolean or String | The "Include Affiliated Departments" settings of the department.
|
Sample Request
|
|
XMLHttpRequest
|
|
Response Parameters
An empty JSON object will be returned.
Sample Response
|
|
Limitations
- If the Space or Guest Space feature is turned off, an error will be returned.
- This API cannot update Guest Members for Guest Spaces. To do this, use the following API:
Update Guest Members