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

Workspaces changedapi/organization/service_accounts/workspaces

Recorded here
Lines+6added
Lines−6removed
From line 9 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 9, old and new numbered
/
lines
from line 9
99 
1010**POST** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
1111 
12**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).
12**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](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
1313 
1414Add a service account to a workspace with the given `workspace_role`.
1515 
from line 32
3232 
3333 The version of the Claude API you want to use.
3434 
35 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
35 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
3636 
3737### Body parameters
3838 
from line 120
120120 
121121**GET** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
122122 
123**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).
123**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](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
124124 
125125List the workspaces a service account is a member of.
126126 
from line 162
162162 
163163 The version of the Claude API you want to use.
164164 
165 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
165 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
166166 
167167### Returns
168168 
from line 236
236236 
237237**DELETE** `/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}`
238238 
239**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).
239**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](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
240240 
241241Remove a service account from a workspace.
242242 
from line 264
264264 
265265 The version of the Claude API you want to use.
266266 
267 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
267 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
268268 
269269### Returns
270270 
Feedback