The whole hunk
from line 2, old and new numbered
/
lines
from line 2
22
33**POST** `/v1/organizations/federation_rules/{federation_rule_id}/archive`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57Archive a federation rule.
68
79Token exchange through this rule stops immediately. Idempotent;
from line 12
1012`workspace_ids` are emptied). Tokens already minted before archive
1113remain valid until they expire. OAuth callers may only manage rules
1214whose `oauth_scope` is `workspace:developer` or `workspace:inference`;
13other scopes require a Console session. Admin API keys are not accepted.
15other scopes require a Console session.
1416
1517## Path parameters
1618
from line 167
165167curl https://api.anthropic.com/v1/organizations/federation_rules/$FEDERATION_RULE_ID/archive \
166168 -X POST \
167169 -H 'anthropic-version: 2023-06-01' \
168 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
170 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
169171```
170172
171173### Response (200)