The whole hunk
from line 4, old and new numbered
/
lines
from line 4
44
55**POST** `/v1/organizations/federation_issuers`
66
7**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).
8
79Register an OIDC issuer that Anthropic will trust for workload identity
810federation in your organization.
911
from line 18
1618document; for `explicit_url` and `inline` modes the issuer URL is only
1719matched as the JWT's `iss` claim and is not fetched.
1820
19Requires an OAuth bearer or Console session; Admin API keys are not
20accepted.
21
2221### Headers
2322
2423- `"anthropic-beta": optional array of string`
from line 249
250249curl https://api.anthropic.com/v1/organizations/federation_issuers \
251250 -H 'Content-Type: application/json' \
252251 -H 'anthropic-version: 2023-06-01' \
253 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
252 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
254253 -d '{
255254 "issuer_url": "x",
256255 "name": "x"
from line 290
291290
292291**GET** `/v1/organizations/federation_issuers/{federation_issuer_id}`
293292
293**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).
294
294295Retrieve a federation issuer by its ID (`fdis_...`).
295296
296297### Path parameters
from line 456
455456```bash
456457curl https://api.anthropic.com/v1/organizations/federation_issuers/$FEDERATION_ISSUER_ID \
457458 -H 'anthropic-version: 2023-06-01' \
458 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
459 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
459460```
460461
461462#### Response (200)
from line 493
492493
493494**GET** `/v1/organizations/federation_issuers`
494495
496**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).
497
495498List federation issuers in your organization.
496499
497500Archived issuers are excluded unless `include_archived=true`.
from line 672
669672```bash
670673curl https://api.anthropic.com/v1/organizations/federation_issuers \
671674 -H 'anthropic-version: 2023-06-01' \
672 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
675 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
673676```
674677
675678#### Response (200)
from line 714
711714
712715**POST** `/v1/organizations/federation_issuers/{federation_issuer_id}`
713716
717**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).
718
714719Partially update a federation issuer.
715720
716721Setting `jwks` replaces the full JWKS shape at once. Archived issuers
from line 723
718723
719724Updating an issuer that backs a rule with a scope outside
720725`workspace:developer` or `workspace:inference` requires a Console
721session. Requires an OAuth bearer or Console session; Admin API keys
722are not accepted.
726session.
723727
724728### Path parameters
725729
from line 966
962966curl https://api.anthropic.com/v1/organizations/federation_issuers/$FEDERATION_ISSUER_ID \
963967 -H 'Content-Type: application/json' \
964968 -H 'anthropic-version: 2023-06-01' \
965 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
969 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
966970 -d '{}'
967971```
968972
from line 1004
10001004
10011005**POST** `/v1/organizations/federation_issuers/{federation_issuer_id}/archive`
10021006
1007**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).
1008
10031009Archive a federation issuer.
10041010
10051011Idempotent; re-archiving returns the issuer with its original
from line 1013
10071013rule still references the issuer; archive those rules first (a rule's
10081014issuer cannot be changed), or recreate them against another issuer.
10091015
1010Requires an OAuth bearer or Console session; Admin API keys are not
1011accepted.
1012
10131016### Path parameters
10141017
10151018- `federation_issuer_id: string`
from line 1176
11731176curl https://api.anthropic.com/v1/organizations/federation_issuers/$FEDERATION_ISSUER_ID/archive \
11741177 -X POST \
11751178 -H 'anthropic-version: 2023-06-01' \
1176 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
1179 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
11771180```
11781181
11791182#### Response (200)