Skip to main content

Overview

Workspaces endpoints

Available Operations

list

List all workspaces for the authenticated user. Management key required.

Example Usage

Parameters

Response

operations.ListWorkspacesResponse

Errors

create

Create a new workspace for the authenticated user. Management key required.

Example Usage

Parameters

Response

components.CreateWorkspaceResponse

Errors

delete

Delete an existing workspace. The default workspace cannot be deleted. Workspaces with active API keys cannot be deleted; remove the keys first. Management key required.

Example Usage

Parameters

Response

components.DeleteWorkspaceResponse

Errors

get

Get a single workspace by ID or slug. Management key required.

Example Usage

Parameters

Response

components.GetWorkspaceResponse

Errors

update

Update an existing workspace by ID or slug. Management key required.

Example Usage

Parameters

Response

components.UpdateWorkspaceResponse

Errors

list_budgets

List all budgets configured for a workspace. Management key required.

Example Usage

Parameters

Response

components.ListWorkspaceBudgetsResponse

Errors

delete_budget

Remove the budget for a given interval. Management key required.

Example Usage

Parameters

Response

components.DeleteWorkspaceBudgetResponse

Errors

set_budget

Create or update the budget for a given interval. Budget limits must strictly decrease as the interval narrows (lifetime > monthly > weekly > daily). Management key required.

Example Usage

Parameters

Response

components.UpsertWorkspaceBudgetResponse

Errors

list_members

List all members of a workspace. Returns paginated results. For the default workspace, returns all organization members (implicit membership). Management key required.

Example Usage

Parameters

Response

operations.ListWorkspaceMembersResponse

Errors

bulk_add_members

Add multiple organization members to a workspace. Members are assigned the same role they hold in the organization. Management key required.

Example Usage

Parameters

Response

components.BulkAddWorkspaceMembersResponse

Errors

bulk_remove_members

Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. SCIM-managed members cannot be removed; changes must be made in your identity provider. Management key required.

Example Usage

Parameters

Response

components.BulkRemoveWorkspaceMembersResponse

Errors