Workspaces changedapi/beta/organization/service_accounts/workspaces
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+6added
Lines−6removed
From line
205
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 205, old and new numbered
/
from line 205
205205```bash
206206curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
207207 -H 'Content-Type: application/json' \
208 -H 'anthropic-version: 2023-06-01' \
209 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
208 -H 'anthropic-version: 2026-10-21' \
209 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
210210 -d '{
211211 "workspace_id": "workspace_id",
212212 "workspace_role": "workspace_admin"
from line 430
430430
431431```bash
432432curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
433 -H 'anthropic-version: 2023-06-01' \
434 -H "X-Api-Key: $ANTHROPIC_API_KEY"
433 -H 'anthropic-version: 2026-10-21' \
434 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
435435```
436436
437437#### Response (200)
from line 615
615615```bash
616616curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces/$WORKSPACE_ID \
617617 -X DELETE \
618 -H 'anthropic-version: 2023-06-01' \
619 -H "X-Api-Key: $ANTHROPIC_API_KEY"
618 -H 'anthropic-version: 2026-10-21' \
619 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
620620```
621621
622622#### Response (200)
No line in this hunk matches that.