Service Accounts changedapi/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
92
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits4to this page, all time
The whole hunk
from line 92, old and new numbered
/
from line 92
9292
9393```bash
9494curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
95 -H 'anthropic-version: 2023-06-01' \
96 -H "X-Api-Key: $ANTHROPIC_API_KEY"
95 -H 'anthropic-version: 2026-10-21' \
96 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
9797```
9898
9999#### Response (200)
from line 206
206206```bash
207207curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
208208 -H 'Content-Type: application/json' \
209 -H 'anthropic-version: 2023-06-01' \
210 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
209 -H 'anthropic-version: 2026-10-21' \
210 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
211211 -d '{
212212 "service_account_id": "service_account_id",
213213 "workspace_role": "workspace_admin"
from line 302
302302
303303```bash
304304curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
305 -H 'anthropic-version: 2023-06-01' \
306 -H "X-Api-Key: $ANTHROPIC_API_KEY"
305 -H 'anthropic-version: 2026-10-21' \
306 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
307307```
308308
309309#### Response (200)
from line 409
409409```bash
410410curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
411411 -H 'Content-Type: application/json' \
412 -H 'anthropic-version: 2023-06-01' \
413 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
412 -H 'anthropic-version: 2026-10-21' \
413 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
414414 -d '{
415415 "workspace_role": "workspace_admin"
416416 }'
from line 480
480480```bash
481481curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
482482 -X DELETE \
483 -H 'anthropic-version: 2023-06-01' \
484 -H "X-Api-Key: $ANTHROPIC_API_KEY"
483 -H 'anthropic-version: 2026-10-21' \
484 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
485485```
486486
487487#### Response (200)
No line in this hunk matches that.