Claude Platform Docs

服務帳戶

建立服務帳戶
POST/v1/organizations/service_accounts
取得服務帳戶
GET/v1/organizations/service_accounts/{service_account_id}
列出服務帳戶
GET/v1/organizations/service_accounts
更新服務帳戶
POST/v1/organizations/service_accounts/{service_account_id}
封存服務帳戶
POST/v1/organizations/service_accounts/{service_account_id}/archive
Models
ServiceAccount object{ id, archived_at, archived_by_actor_id, 8 more }

Named non-human identity within the caller's organization.

A service account is a pure identity: name + org. Authorization lives on whatever references it (federation rules).

服務帳戶工作區

將工作區新增至服務帳戶
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}