Create Federation Rule changedapi/admin/federation_rules/create
Nearest release: v2.1.261, published 3 hours before 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+4added
Lines−3removed
From line
2
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits4to this page, all time
The whole hunk
from line 2, old and new numbered
/
from line 2
22
33**POST** `/v1/organizations/federation_rules`
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
57Create a federation rule owned by your organization.
68
79The referenced issuer and the target service account must already exist
from line 18
1618`repo:YOUR_ORG/...`), or a CEL condition referencing one of those
1719identity claims (e.g. `claims.repository_owner`). OAuth callers may only
1820manage rules whose `oauth_scope` is `workspace:developer` or
19`workspace:inference`; other scopes require a Console session. Admin API
20keys are not accepted.
21`workspace:inference`; other scopes require a Console session.
2122
2223## Headers
2324
from line 249
248249curl https://api.anthropic.com/v1/organizations/federation_rules \
249250 -H 'Content-Type: application/json' \
250251 -H 'anthropic-version: 2023-06-01' \
251 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
252 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
252253 -d '{
253254 "issuer_id": "issuer_id",
254255 "match": {},
No line in this hunk matches that.