The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Update Federation Rule
3url: https://platform.claude.com/docs/en/api/beta/organization/federation/rules/update
4---
5
16# Update Federation Rule
27
38**POST** `/v1/organizations/federation_rules/{federation_rule_id}`
from line 41
3641
3742 - `string`
3843
39 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
44 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4045
4146 - `"message-batches-2024-09-24"`
4247
from line 89
8489
8590 - `"user-profiles-2026-08-18"`
8691
92 - `"user-profiles-2026-09-04"`
93
8794 - `"advisor-tool-2026-03-01"`
8895
8996 - `"managed-agents-2026-04-01"`
from line 195
188195
189196 Bind to a fixed service account by ID.
190197
198 - `type: "service_account"`
199
191200 - `service_account_id: string`
192201
193202 Tagged ID of the service account to mint tokens for.
194203
195 - `type: "service_account"`
196
197204 - `service_account_name: optional string or null`
198205
199206 Service account's display name at read time. Ignored on writes.
from line 230
223230 rules carrying only the legacy `workspace_id` binding do not enforce
224231 this.
225232
233 - `type: "federation_rule"`
234
235 default: federation_rule
236
226237 - `id: string`
227238
228239 Tagged ID of the federation rule.
from line 316
305316
306317 Identity that tokens minted via this rule act as. Currently always a `service_account` target.
307318
319 - `type: "service_account"`
320
308321 - `service_account_id: string`
309322
310323 Tagged ID of the service account to mint tokens for.
311324
312 - `type: "service_account"`
313
314325 - `service_account_name: optional string or null`
315326
316327 Service account's display name at read time. Ignored on writes.
from line 329
318329 - `token_lifetime_seconds: number`
319330
320331 Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds.
321
322 - `type: "federation_rule"`
323
324 default: federation_rule
325332
326333 - `updated_at: string`
327334