Service Accounts changedapi/beta/organization/service_accounts
Nearest release: v2.1.309, published 2 hours after 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+16added
Lines−16removed
From line
229
where the diff opens
First seen
26 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 229, old and new numbered
/
from line 229
229229```bash
230230curl https://api.anthropic.com/v1/organizations/service_accounts \
231231 -H 'Content-Type: application/json' \
232 -H 'anthropic-version: 2023-06-01' \
233 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
232 -H 'anthropic-version: 2026-10-21' \
233 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
234234 -d '{
235235 "name": "ci-deploy-bot"
236236 }'
from line 468
468468
469469```bash
470470curl https://api.anthropic.com/v1/organizations/service_accounts \
471 -H 'anthropic-version: 2023-06-01' \
472 -H "X-Api-Key: $ANTHROPIC_API_KEY"
471 -H 'anthropic-version: 2026-10-21' \
472 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
473473```
474474
475475#### Response (200)
from line 694
694694
695695```bash
696696curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID \
697 -H 'anthropic-version: 2023-06-01' \
698 -H "X-Api-Key: $ANTHROPIC_API_KEY"
697 -H 'anthropic-version: 2026-10-21' \
698 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
699699```
700700
701701#### Response (200)
from line 937
937937```bash
938938curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID \
939939 -H 'Content-Type: application/json' \
940 -H 'anthropic-version: 2023-06-01' \
941 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
940 -H 'anthropic-version: 2026-10-21' \
941 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
942942 -d '{}'
943943```
944944
from line 1165
11651165```bash
11661166curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/archive \
11671167 -X POST \
1168 -H 'anthropic-version: 2023-06-01' \
1169 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1168 -H 'anthropic-version: 2026-10-21' \
1169 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
11701170```
11711171
11721172#### Response (200)
from line 1492
14921492```bash
14931493curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
14941494 -H 'Content-Type: application/json' \
1495 -H 'anthropic-version: 2023-06-01' \
1496 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1495 -H 'anthropic-version: 2026-10-21' \
1496 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
14971497 -d '{
14981498 "workspace_id": "workspace_id",
14991499 "workspace_role": "workspace_admin"
from line 1717
17171717
17181718```bash
17191719curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
1720 -H 'anthropic-version: 2023-06-01' \
1721 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1720 -H 'anthropic-version: 2026-10-21' \
1721 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
17221722```
17231723
17241724##### Response (200)
from line 1902
19021902```bash
19031903curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces/$WORKSPACE_ID \
19041904 -X DELETE \
1905 -H 'anthropic-version: 2023-06-01' \
1906 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1905 -H 'anthropic-version: 2026-10-21' \
1906 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19071907```
19081908
19091909##### Response (200)
No line in this hunk matches that.