Get Space Members
Gets the list of Space Members of a Space.
| Method | GET |
|---|---|
| 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 (not needed if specifying the query with a query string) |
Contents
Permissions
For Private Spaces, the user must be a member of the Space.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | Integer or String | Yes | The Space ID. |
Sample Request
JavaScript using kintone.api()
|
|
XMLHttpRequest
|
|
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| members | Array | A list of Space members. Guest users, inactive users and deleted users will not be included. |
| members[].entity | Object | The entity information of the Space member. |
| members[].entity.type | String | The entity type of the Space member. USER: User GROUP: Group ORGANIZATION: Department |
| members[].entity.code | String | The code of the Space member. |
| members[].isAdmin | Boolean | The Space Admin settings of the Space membertrue: The Space Member is the Space Administrator.false: The Space Member is not the Space Administrator. |
| members[].isImplicit | Boolean | If the Space Member is added as a User or not.true: The Space Member is not added as a user, and is added as part of a Group or Department.false: The Space Member is added as a User.This is not responded for GROUP and ORGANIZATION entities. |
| members[].includeSubs | Boolean | The "Include Affiliated Departments" setting of the Department Space Member.true: Affiliated Departments are included.false: Affiliated Departments are not included.This is not responded for GROUP and ORGANIZATION entities. |
Sample Response
|
|
Limitations
- If the Space or Guest Space feature is turned off, an error will be returned.
- Using this API on Guest Spaces will only return non-guest Space users.