Workspaces changedapi/organization/workspaces
Recorded here
Lines+21added
Lines−21removed
From line
47
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits6to this page, all time
The whole hunk
from line 47, old and new numbered
/
from line 47
4747
4848 The version of the Claude API you want to use.
4949
50 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
50 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
5151
5252### Returns
5353
from line 208
208208
209209 The version of the Claude API you want to use.
210210
211 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
211 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
212212
213213### Body parameters
214214
from line 426
426426
427427 The version of the Claude API you want to use.
428428
429 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
429 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
430430
431431### Returns
432432
from line 572
572572
573573 The version of the Claude API you want to use.
574574
575 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
575 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
576576
577577### Body parameters
578578
from line 783
783783
784784 The version of the Claude API you want to use.
785785
786 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
786 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
787787
788788### Returns
789789
from line 1226
12261226
12271227 The version of the Claude API you want to use.
12281228
1229 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1229 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
12301230
12311231#### Returns
12321232
from line 1470
14701470
14711471 The version of the Claude API you want to use.
14721472
1473 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1473 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
14741474
14751475#### Returns
14761476
from line 1562
15621562
15631563 The version of the Claude API you want to use.
15641564
1565 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1565 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
15661566
15671567#### Body parameters
15681568
from line 1662
16621662
16631663 The version of the Claude API you want to use.
16641664
1665 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1665 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
16661666
16671667#### Returns
16681668
from line 1739
17391739
17401740 The version of the Claude API you want to use.
17411741
1742 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1742 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
17431743
17441744#### Body parameters
17451745
from line 1836
18361836
18371837 The version of the Claude API you want to use.
18381838
1839 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1839 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
18401840
18411841#### Returns
18421842
from line 1881
18811881
18821882**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
18831883
1884**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).
1884**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).
18851885
18861886List the service accounts that are members of a workspace.
18871887
from line 1916
19161916
19171917 The version of the Claude API you want to use.
19181918
1919 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1919 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
19201920
19211921#### Returns
19221922
from line 1990
19901990
19911991**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
19921992
1993**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).
1993**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).
19941994
19951995Add a service account to a workspace with the given `workspace_role`.
19961996
from line 2015
20152015
20162016 The version of the Claude API you want to use.
20172017
2018 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2018 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
20192019
20202020#### Body parameters
20212021
from line 2103
21032103
21042104**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
21052105
2106**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).
2106**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).
21072107
21082108Retrieve a service account's membership in a workspace.
21092109
from line 2130
21302130
21312131 The version of the Claude API you want to use.
21322132
2133 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2133 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
21342134
21352135#### Returns
21362136
from line 2195
21952195
21962196**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
21972197
2198**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).
2198**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).
21992199
22002200Change a service account's role in a workspace.
22012201
from line 2222
22222222
22232223 The version of the Claude API you want to use.
22242224
2225 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2225 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
22262226
22272227#### Body parameters
22282228
from line 2305
23052305
23062306**DELETE** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
23072307
2308**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).
2308**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).
23092309
23102310Remove a service account from a workspace.
23112311
from line 2331
23312331
23322332 The version of the Claude API you want to use.
23332333
2334 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2334 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
23352335
23362336#### Returns
23372337
No line in this hunk matches that.