List Workspace Members
List the members of a workspace, inherited roles included.
List the members of a workspace, newest organization member first,
including members whose role is inherited.
Members have no id of their own: first_id, last_id, after_id and
before_id are user IDs.
GET /v1/organizations/workspaces/:workspace_id/membersPath parameters
workspace_idstringrequiredThe workspace's ID.
Query parameters
limitintegeroptionalDefault 20Items per page, 1 to 1000.
after_idstringoptionalReturn the page after this ID (older items). Pass the previous page's
last_id.
before_idstringoptionalReturn the page before this ID (newer items). Pass the previous page's
first_id.
Response
dataWorkspace member[]optional[Workspace member objects](/api-reference/admin/workspace-members#the- workspace-member-object).
has_morebooleanoptionaltrue when there are more items beyond this page.
first_idstring | nulloptionalID of the first item on this page, or null if the page is empty.
last_idstring | nulloptionalID of the last item on this page, or null if the page is empty.
Errors
| Status | Reason |
|---|---|
400 | limit is out of range, both after_id and before_id are set, or the cursor ID doesn't exist. |
404 | No workspace with this ID exists in your organization. |