Workspace memberships

The Workspace Memberships API gives businesses full visibility into who has access to each workspace, including both directly assigned members and inherited access from organization admins.

List workspace memberships

get

List all memberships for a workspace. Requires can_view_workspace permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
workspaceIdstring · uuidRequired

Identifier of the workspace

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
get
/workspaces/{workspaceId}/memberships

List workspace memberships including organization admins

get

List all direct and inherited (organization admin) memberships for a workspace. Requires can_view_workspace permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
workspaceIdstring · uuidRequired

Identifier of the workspace

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
get
/organizations/workspaces/{workspaceId}/memberships

Remove workspace membership

delete

Remove a user's membership from a workspace. Requires can_manage_workspace_access permission on the workspace.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
workspaceIdstring · uuidRequired

Identifier of the workspace

userIdstring · uuidRequired

Identifier of the user to remove

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
delete
/workspaces/{workspaceId}/memberships/{userId}

No content

Add or update workspace membership

put

Add or update workspace membership for a user. Requires can_manage_workspace_access permission on the workspace.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
workspaceIdstring · uuidRequired

Identifier of the workspace

userIdstring · uuidRequired

Identifier of the user

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Body
userIdstring · uuidRequired

Identifier of the user to add to the workspace

roleIdstring · uuidRequired

Identifier of the role to assign to the user

Responses
put
/workspaces/{workspaceId}/memberships/{userId}

Last updated