The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Workspaces
3url: https://platform.claude.com/docs/en/api/beta/organization/federation/rules/workspaces
4---
5
16# Workspaces
27
38## Add Federation Rule Workspace
from line 36
3136
3237 - `string`
3338
34 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
39 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3540
3641 - `"message-batches-2024-09-24"`
3742
from line 84
7984
8085 - `"user-profiles-2026-08-18"`
8186
87 - `"user-profiles-2026-09-04"`
88
8289 - `"advisor-tool-2026-03-01"`
8390
8491 - `"managed-agents-2026-04-01"`
from line 138
131138
132139- `BetaFederationRuleWorkspace object`
133140
141 - `type: "federation_rule_workspace"`
142
143 default: federation_rule_workspace
144
134145 - `created_at: string`
135146
136147 When this workspace was enabled for the rule.
from line 156
145156
146157 Tagged ID of the federation rule.
147158
148 - `type: "federation_rule_workspace"`
149
150 default: federation_rule_workspace
151
152159 - `workspace_id: string`
153160
154161 Tagged ID of the workspace this rule is enabled for.
from line 229
222229
223230 - `string`
224231
225 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
232 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
226233
227234 - `"message-batches-2024-09-24"`
228235
from line 277
270277
271278 - `"user-profiles-2026-08-18"`
272279
280 - `"user-profiles-2026-09-04"`
281
273282 - `"advisor-tool-2026-03-01"`
274283
275284 - `"managed-agents-2026-04-01"`
from line 325
316325
317326- `data: array of BetaFederationRuleWorkspace`
318327
328 - `type: "federation_rule_workspace"`
329
330 default: federation_rule_workspace
331
319332 - `created_at: string`
320333
321334 When this workspace was enabled for the rule.
from line 343
330343
331344 Tagged ID of the federation rule.
332345
333 - `type: "federation_rule_workspace"`
334
335 default: federation_rule_workspace
336
337346 - `workspace_id: string`
338347
339348 Tagged ID of the workspace this rule is enabled for.
from line 412
403412
404413 - `string`
405414
406 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
415 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
407416
408417 - `"message-batches-2024-09-24"`
409418
from line 460
451460
452461 - `"user-profiles-2026-08-18"`
453462
463 - `"user-profiles-2026-09-04"`
464
454465 - `"advisor-tool-2026-03-01"`
455466
456467 - `"managed-agents-2026-04-01"`
from line 506
495506
496507### Returns
497508
498- `federation_rule_id: string`
499
500 Tagged ID of the federation rule.
501
502509- `type: "federation_rule_workspace_deleted"`
503510
504511 default: federation_rule_workspace_deleted
505512
513- `federation_rule_id: string`
514
515 Tagged ID of the federation rule.
516
506517- `workspace_id: string`
507518
508519 Tagged ID of the workspace named in the delete request. Removal is idempotent.
from line 543
532543
533544- `WorkspaceRemoveResponse object`
534545
535 - `federation_rule_id: string`
536
537 Tagged ID of the federation rule.
538
539546 - `type: "federation_rule_workspace_deleted"`
540547
541548 default: federation_rule_workspace_deleted
549
550 - `federation_rule_id: string`
551
552 Tagged ID of the federation rule.
542553
543554 - `workspace_id: string`
544555