Archive Service Account changedapi/admin/service_accounts/archive
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+3added
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
/
from line 2
22
33**POST** `/v1/organizations/service_accounts/{service_account_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 service account.
68
79Idempotent; re-archiving returns the service account with its original
from line 11
911rule still targets this service account, same as issuer archival; archive
1012those rules first or change their target to another service account.
1113
12Requires an OAuth bearer or Console session; Admin API keys are not
13accepted.
14
1514## Path parameters
1615
1716- `service_account_id: string`
from line 94
9594curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/archive \
9695 -X POST \
9796 -H 'anthropic-version: 2023-06-01' \
98 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
97 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
9998```
10099
101100### Response (200)
No line in this hunk matches that.