Skip to main content

GetUsersInWorkspace

GetUsersInWorkspace

ワークスペースのユーザー一覧の取得

Description

指定されたワークスペースのユーザー一覧の取得する

Method

GET

Request URL Format

/api/v0/workspaces/:workspace-id/users

URL Params

workspace-id :  ワークスペースID
admin_only : 管理者のみを返すためのブール値

Request URL Sample

GET https://api.xxx.com/api/v0/workspaces/5d8b44adef2261640ab04ef6/users?admin_only=true

Response Sample

{
"5d8b44adef2261640ab04ef7": [
{
"access_key": "5d8b4205ef22614ddd2d72c2",
"created_at": "2019-09-25T19:31:33.855396+09:00",
"id": "5d8b419bef22614ddd2d72c1",
"u_id": "5d8b419bef22614ddd2d72c1",
"updated_at": "2019-12-05T15:24:23.522866+09:00",
"username": "x.xxx"
}
],
"5e12c871ef22619dc9910714": [
{
"access_key": "5d8b4205ef22614ddd2d72c2",
"created_at": "2019-09-25T19:31:33.855396+09:00",
"id": "5d8b419bef22614ddd2d72c1",
"u_id": "5d8b419bef22614ddd2d72c1",
"updated_at": "2019-12-05T15:24:23.522866+09:00",
"username": "x.xxx"
}
],
"5e12c89fef22619dc9910716": [
{
"access_key": "5d8b4205ef22614ddd2d72c2",
"created_at": "2019-09-25T19:31:33.855396+09:00",
"id": "5d8b419bef22614ddd2d72c1",
"u_id": "5d8b419bef22614ddd2d72c1",
"updated_at": "2019-12-05T15:24:23.522866+09:00",
"username": "x.xxx"
}
]
}