Claude Platform Docs

聯合規則

建立聯合規則
POST/v1/organizations/federation_rules
取得聯合規則
GET/v1/organizations/federation_rules/{federation_rule_id}
列出聯合規則
GET/v1/organizations/federation_rules
更新聯合規則
POST/v1/organizations/federation_rules/{federation_rule_id}
封存聯合規則
POST/v1/organizations/federation_rules/{federation_rule_id}/archive
Models
FederationRule object{ id, applies_to_all_workspaces, archived_at, 17 more }

Authorization rule binding an external OIDC identity to Anthropic.

Evaluates the match conditions and mints an OAuth access token for the resolved target, scoped to a single workspace where the rule is enabled (chosen by the caller at exchange time when the rule is enabled for more than one). For rules enabled via workspace_ids or applies_to_all_workspaces, the target service account must be a member of that workspace (it is implicitly a member of the default workspace); rules carrying only the legacy workspace_id binding do not enforce this.

聯合規則工作區

列出聯合規則工作區
GET/v1/organizations/federation_rules/{federation_rule_id}/workspaces
新增聯合規則工作區
POST/v1/organizations/federation_rules/{federation_rule_id}/workspaces
移除聯合規則工作區
DELETE/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}