Service Accounts changedapi/organization/workspaces/service_accounts
Recorded here
Lines+10added
Lines−10removed
From line
9
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits3to this page, all time
The whole hunk
from line 9, old and new numbered
/
from line 9
99
1010**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
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
1414List the service accounts that are members of a workspace.
1515
from line 44
4444
4545 The version of the Claude API you want to use.
4646
47 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
47 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
4848
4949### Returns
5050
from line 118
118118
119119**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
120120
121**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).
121**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).
122122
123123Add a service account to a workspace with the given `workspace_role`.
124124
from line 143
143143
144144 The version of the Claude API you want to use.
145145
146 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
146 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
147147
148148### Body parameters
149149
from line 231
231231
232232**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
233233
234**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).
234**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).
235235
236236Retrieve a service account's membership in a workspace.
237237
from line 258
258258
259259 The version of the Claude API you want to use.
260260
261 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
261 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
262262
263263### Returns
264264
from line 323
323323
324324**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
325325
326**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).
326**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).
327327
328328Change a service account's role in a workspace.
329329
from line 350
350350
351351 The version of the Claude API you want to use.
352352
353 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
353 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
354354
355355### Body parameters
356356
from line 433
433433
434434**DELETE** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
435435
436**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).
436**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).
437437
438438Remove a service account from a workspace.
439439
from line 459
459459
460460 The version of the Claude API you want to use.
461461
462 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
462 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
463463
464464### Returns
465465
No line in this hunk matches that.