Members
7 operations, generated from the OpenAPI document.
The members of a workspace
GET /api/workspaces/{workspaceId}/members
Access: workspace:read on the workspace (see ACTIONS for the minimum role); personal access tokens need schema.bases:read.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workspaceId | path | string | yes |
Responses
200Successmembersarray of object requireduserIdstring (uuid) requiredemailstring | null requirednamestring | null requiredavatarUrlstring | null requiredrole"owner" | "creator" | "editor" | "commenter" | "read_only" requiredjoinedAtstring (date-time) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
The workspace's collaborator directory: members and base-only collaborators of bases the caller can see (emails only for workspace members)
GET /api/workspaces/{workspaceId}/collaborators
Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workspaceId | path | string (uuid) | yes |
Responses
200Successcollaboratorsarray of object requiredidstring (uuid) requirednamestring requiredemailstringinitialsstring requiredcolor"green" | "amber" | "blue" | "red" | "violet" | "teal" | "pink" | "slate" | … required
401Not signed in429Too many requests: a rate limit was reached (see Retry-After)
Change a member's role (owners and creators; only owners grant or change owner)
PATCH /api/workspaces/{workspaceId}/members/{userId}
Access: workspace:manage_members on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workspaceId | path | string | yes |
userId | path | string (uuid) | yes |
Request body
role"owner" | "creator" | "editor" | "commenter" | "read_only" required
Responses
200SuccessuserIdstring (uuid) requiredemailstring | null requirednamestring | null requiredavatarUrlstring | null requiredrole"owner" | "creator" | "editor" | "commenter" | "read_only" requiredjoinedAtstring (date-time) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Remove a member (their access ends with this request)
DELETE /api/workspaces/{workspaceId}/members/{userId}
Access: workspace:manage_members on the workspace (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workspaceId | path | string | yes |
userId | path | string (uuid) | yes |
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Everyone with access to a base: workspace members and base collaborators, with their effective role (creators and up)
GET /api/bases/{baseId}/collaborators
Access: base:manage_members on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
baseId | path | string | yes |
Responses
200Successcollaboratorsarray of object requireduserIdstring (uuid) requiredemailstring | null requirednamestring | null requiredavatarUrlstring | null requiredworkspaceRole"owner" | "creator" | "editor" | "commenter" | "read_only" | null requiredbaseRole"creator" | "editor" | "commenter" | "read_only" | null requiredrole"owner" | "creator" | "editor" | "commenter" | "read_only" required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Set someone's role on a base (creators and up); the effective role is the higher of it and their workspace role
PATCH /api/bases/{baseId}/collaborators/{userId}
Access: base:manage_members on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
baseId | path | string | yes |
userId | path | string (uuid) | yes |
Request body
role"creator" | "editor" | "commenter" | "read_only" required
Responses
200SuccessuserIdstring (uuid) requiredemailstring | null requirednamestring | null requiredavatarUrlstring | null requiredworkspaceRole"owner" | "creator" | "editor" | "commenter" | "read_only" | null requiredbaseRole"creator" | "editor" | "commenter" | "read_only" | null requiredrole"owner" | "creator" | "editor" | "commenter" | "read_only" required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Remove someone's base role (a base-only collaborator loses the base at once)
DELETE /api/bases/{baseId}/collaborators/{userId}
Access: base:manage_members on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
baseId | path | string | yes |
userId | path | string (uuid) | yes |
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)