Update Federation Rule
update-federation-ruleReplace an existing federation rule's full configuration; omitted optional fields are cleared and existing workload access tokens are invalidated.
Instructions
Replace the complete configuration (PUT), not a partial update. Omitted optional fields are cleared. Changes invalidate existing workload access tokens. Returns a rule object with its full configuration, id, organization_id, cluster_id, created_at and updated_at. Requires an organization admin using a user session or OAuth with full_access. API keys and workload tokens cannot manage federation configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| cluster | Yes | ||
| enabled | Yes | Whether this rule permits workload token exchange. | |
| database | Yes | Default database for this rule; not inherited from the MCP connection. | |
| issuer_id | Yes | ||
| permission | No | ||
| description | No | ||
| organization | Yes | ||
| principal_id | Yes | Your own user ID or a service account ID in this organization. | |
| database_roles | No | ||
| principal_type | Yes | ||
| claim_conditions | Yes | ||
| allowed_audiences | Yes |