Skip to main content

GetUsersInWorkspace

Get a list of users in a workspace

Description

Obtains a list of users for the specified workspace.

Method

GET

Request URL Format

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

URL Params

workspace-id :  Workspace ID
admin_only : Boolean to return administrator 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"
}
]
}