The whole hunk
from line 2, old and new numbered
/
lines
from line 2
22
33**DELETE** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}`
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
57Disable a federation rule for a workspace.
68
79Idempotent; succeeds even if the enablement was already removed. OAuth
810callers may only manage rules whose `oauth_scope` is
911`workspace:developer` or `workspace:inference`; other scopes require a
10Console session. Admin API keys are not accepted.
12Console session.
1113
1214## Path parameters
1315
from line 49
4749curl https://api.anthropic.com/v1/organizations/federation_rules/$FEDERATION_RULE_ID/workspaces/$WORKSPACE_ID \
4850 -X DELETE \
4951 -H 'anthropic-version: 2023-06-01' \
50 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
52 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
5153```
5254
5355### Response (200)