Claude Platform Docs

工作区

将工作区添加到服务账户
POST/v1/organizations/service_accounts/{service_account_id}/workspaces
列出服务账户的工作区
GET/v1/organizations/service_accounts/{service_account_id}/workspaces
从服务账户移除工作区
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.