Add Space
Creates a Space from a Space template.
Method | POST |
---|---|
URL | https://{subdomain}.kintone.com/k/v1/template/space.json |
Authentication | Password Authentication , Session Authentication |
Content-Type | application/json |
Contents
Permissions
- For creating Guest Spaces, the user will need to have permission to create Guest Spaces.
Request Parameters
Parameter | Value | Required | Description |
---|---|---|---|
id | Integer or String | Yes | The Space Template ID. For instructions on creating Space Templates, refer to the following article: Creating a Template from a Space The Space Template ID is listed on the Space Templates list page, found under https://{domainname}.kintone.com/k/admin/system/spacetemplate/ |
name | String | Yes | The new name of the Space. |
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.
If ignored, this value is false . |
members[].includeSubs | Boolean or String | The "Include Affiliated Departments" settings of the department.
false . |
|
isPrivate | Boolean or String | The "Private" settings of the Space.
true , this value is also true .If ignored, this value is false . |
|
isGuest | Boolean or String | The Guest Space settings of the Space.
false . |
|
fixedMember | Boolean or String | The "Block users from joining or leaving the space and following or unfollowing the threads." settings of the Space.
false . |
Sample Request
|
|
XMLHttpRequest
|
|
Response Parameters
Parameter | Type | Description |
---|---|---|
id | String | The Space ID of the created Space. |
Sample Response
|
|
Limitations
- If the Space or Guest Space feature is turned off, an error will be returned.