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}