Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Add Federation Rule Workspace changed

api/admin/federation_rules/workspaces/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+6added
Lines−4removed
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
/
lines
from line 2
22 
33**POST** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces`
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 
57Enable a federation rule for a workspace.
68 
79Idempotent; re-enabling returns the existing enablement. The rule and
from line 11
911rule's target service account in this workspace is not checked at
1012enablement: token exchange into this workspace is rejected unless the
1113target is a member (it is implicitly a member of the default workspace).
12Archived rules are rejected with 400. OAuth callers may only manage rules whose
13`oauth_scope` is `workspace:developer` or `workspace:inference`; other
14scopes require a Console session. Admin API keys are not accepted.
14Archived rules are rejected with 400. OAuth callers may only manage rules
15whose `oauth_scope` is `workspace:developer` or `workspace:inference`;
16other scopes require a Console session.
1517 
1618## Path parameters
1719 
from line 69
6769curl https://api.anthropic.com/v1/organizations/federation_rules/$FEDERATION_RULE_ID/workspaces \
6870 -H 'Content-Type: application/json' \
6971 -H 'anthropic-version: 2023-06-01' \
70 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
72 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
7173 -d '{
7274 "workspace_id": "workspace_id"
7375 }'