Claude Platform Docs

Workspaces

Add Workspace To Service Account
POST/v1/organizations/service_accounts/{service_account_id}/workspaces
List Workspaces For Service Account
GET/v1/organizations/service_accounts/{service_account_id}/workspaces
Remove Workspace From Service Account
DELETE/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}
Models
WorkspaceRemoveResponse object{ service_account_id, type, workspace_id }
service_account_id: string

Tagged service account ID (svac_...) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.

type: "service_account_workspace_member_deleted"
defaultservice_account_workspace_member_deleted
workspace_id: string

Tagged workspace ID (wrkspc_...) named in the delete request.