Claude Platform Docs

Regras de federação

Criar regra de federação
POST/v1/organizations/federation_rules
Obter regra de federação
GET/v1/organizations/federation_rules/{federation_rule_id}
Listar regras de federação
GET/v1/organizations/federation_rules
Atualizar regra de federação
POST/v1/organizations/federation_rules/{federation_rule_id}
Arquivar regra de federação
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.

Regras de federaçãoWorkspaces

Listar workspaces da regra de federação
GET/v1/organizations/federation_rules/{federation_rule_id}/workspaces
Adicionar workspace à regra de federação
POST/v1/organizations/federation_rules/{federation_rule_id}/workspaces
Remover workspace da regra de federação
DELETE/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}