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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"issuer_id": "<issuer_id>",
"allowed_audiences": "<allowed_audiences>",
"claim_conditions": "<claim_conditions>",
"principal_type": "<principal_type>",
"principal_id": "<principal_id>",
"database": "<database>",
"enabled": "<enabled>",
"organization": "<organization>",
"cluster": "<cluster>",
"id": "<id>"
},
"name": "update-federation-rule"
}
}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 |