Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Service Accounts changedapi/beta/organization/workspaces/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+10added
Lines−10removed
From line 202 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 202, old and new numbered
/
lines
from line 202
202202 
203203```bash
204204curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
205 -H 'anthropic-version: 2023-06-01' \
206 -H "X-Api-Key: $ANTHROPIC_API_KEY"
205 -H 'anthropic-version: 2026-10-21' \
206 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
207207```
208208 
209209#### Response (200)
from line 426
426426```bash
427427curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
428428 -H 'Content-Type: application/json' \
429 -H 'anthropic-version: 2023-06-01' \
430 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
429 -H 'anthropic-version: 2026-10-21' \
430 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
431431 -d '{
432432 "service_account_id": "service_account_id",
433433 "workspace_role": "workspace_admin"
from line 632
632632 
633633```bash
634634curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
635 -H 'anthropic-version: 2023-06-01' \
636 -H "X-Api-Key: $ANTHROPIC_API_KEY"
635 -H 'anthropic-version: 2026-10-21' \
636 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
637637```
638638 
639639#### Response (200)
from line 849
849849```bash
850850curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
851851 -H 'Content-Type: application/json' \
852 -H 'anthropic-version: 2023-06-01' \
853 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
852 -H 'anthropic-version: 2026-10-21' \
853 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
854854 -d '{
855855 "workspace_role": "workspace_admin"
856856 }'
from line 1030
10301030```bash
10311031curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
10321032 -X DELETE \
1033 -H 'anthropic-version: 2023-06-01' \
1034 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1033 -H 'anthropic-version: 2026-10-21' \
1034 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10351035```
10361036 
10371037#### Response (200)
Feedback