Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Archive Federation Rule changedapi/admin/federation_rules/archive

Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+27added
Lines−22removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits4to this page, all time

# Archive Federation Rule ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Archive Federation Rule ### Path Parameters ### Header Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Archive Federation Rule
3url: https://platform.claude.com/docs/en/api/admin/federation_rules/archive
4---
1# Archive Federation Rule
52 
6## Archive Federation Rule
3**POST** `/v1/organizations/federation_rules/{federation_rule_id}/archive`
74 
8**post** `/v1/organizations/federation_rules/{federation_rule_id}/archive`
9 
105Archive a federation rule.
116 
127Token exchange through this rule stops immediately. Idempotent;
from line 12
1712whose `oauth_scope` is `workspace:developer` or `workspace:inference`;
1813other scopes require a Console session. Admin API keys are not accepted.
1914 
20### Path Parameters
15## Path parameters
2116 
2217- `federation_rule_id: string`
2318 
2419 ID of the federation rule to archive.
2520 
26### Header Parameters
21## Headers
2722 
2823- `"anthropic-beta": optional array of string`
2924 
from line 26
3126 
3227 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
3328 
34### Returns
29## Returns
3530 
36- `FederationRule object { id, applies_to_all_workspaces, archived_at, 17 more }`
31- `FederationRule object`
3732 
3833 Authorization rule binding an external OIDC identity to Anthropic.
3934 
from line 53
5853 
5954 If set, this rule is archived and rejects token exchange.
6055 
56 format: date-time
57 
6158 - `archived_by_actor_id: string or null`
6259 
6360 Tagged ID (`user_`/`svac_`) of the actor that archived this rule.
from line 67
7067 
7168 When this rule was created.
7269 
70 format: date-time
71 
7372 - `created_by_actor_id: string or null`
7473 
7574 Tagged ID (`user_`/`svac_`) of the actor that created this rule.
from line 85
8685 
8786 Issuer's display name at read time.
8887 
89 - `match: object { audience, claims, condition, subject_prefix }`
88 - `match: object`
9089 
9190 Conditions the verified JWT must satisfy for this rule to apply. All populated matcher fields must pass.
9291 
from line 93
9493 
9594 Exact match against the `aud` claim (any element if array). When omitted, the JWT's `aud` must still equal Anthropic's expected audience for the issuer; setting this field overrides that default.
9695 
96 maxLength: 1024
97 
9798 - `claims: optional map[string] or null`
9899 
99100 Exact-match `{claim: value}` pairs against top-level claims. Only string-valued claims can be matched; use `condition` for non-string claims.
from line 103
102103 
103104 CEL expression over claims for logic the structural fields can't express. Must evaluate to a boolean and may reference only the `claims` variable; a constant-true expression (such as `true`) is rejected with 400.
104105 
106 maxLength: 4096
107 
105108 - `subject_prefix: optional string or null`
106109 
107110 Match the verified JWT `sub` claim. Exact match unless the value ends with `*`, in which case it is a prefix match. Example: `repo:my-org/my-repo:ref:refs/heads/main`.
108111 
112 maxLength: 1024
113 
109114 - `name: string`
110115 
111116 Admin-chosen slug identifier.
from line 119
114119 
115120 Space-separated OAuth scopes granted on the minted token.
116121 
117 - `target: object { service_account_id, type, service_account_name }`
122 - `target: object`
118123 
119124 Identity that tokens minted via this rule act as. Currently always a `service_account` target.
120125 
from line 129
124129 
125130 - `type: "service_account"`
126131 
127 - `"service_account"`
128 
129132 - `service_account_name: optional string or null`
130133 
131134 Service account's display name at read time. Ignored on writes.
from line 139
136139 
137140 - `type: "federation_rule"`
138141 
139 - `"federation_rule"`
142 default: federation_rule
140143 
141144 - `updated_at: string`
142145 
143146 When this rule was last updated.
144147 
148 format: date-time
149 
145150 - `updated_by_actor_id: string or null`
146151 
147152 Tagged ID (`user_`/`svac_`) of the actor that last updated this rule.
from line 159
154159 
155160 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
156161 
157### Example
162## Example
158163 
159```http
164```bash
160165curl https://api.anthropic.com/v1/organizations/federation_rules/$FEDERATION_RULE_ID/archive \
161166 -X POST \
162167 -H 'anthropic-version: 2023-06-01' \
from line 168
163168 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
164169```
165170 
166#### Response
171### Response (200)
167172 
168173```json
169174{
Feedback