Delete Service Account Workspace Member changedapi/admin/workspaces/service_accounts/delete
Nearest release: v2.1.245, published an hour 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+9added
Lines−14removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits4to this page, all time
# Delete Service Account Workspace Member ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Delete Service Account Workspace Member ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Delete Service Account Workspace Member
3url: https://platform.claude.com/docs/en/api/admin/workspaces/service_accounts/delete
4---
1# Delete Service Account Workspace Member
52
6## Delete Service Account Workspace Member
3**DELETE** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
74
8**delete** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
9
105Remove a service account from a workspace.
116
127Removal is idempotent (returns 200 even if the membership was already
from line 11
1611membership. Archived workspaces return 400. Requires an OAuth bearer or
1712Console session; Admin API keys are not accepted.
1813
19### Path Parameters
14## Path parameters
2015
2116- `workspace_id: string`
2217
from line 21
2621
2722 ID of the service account.
2823
29### Header Parameters
24## Headers
3025
3126- `"anthropic-beta": optional array of string`
3227
from line 29
3429
3530 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
3631
37### Returns
32## Returns
3833
3934- `service_account_id: string`
4035
from line 37
4237
4338- `type: "service_account_workspace_member_deleted"`
4439
45 - `"service_account_workspace_member_deleted"`
40 default: service_account_workspace_member_deleted
4641
4742- `workspace_id: string`
4843
4944 Tagged workspace ID (`wrkspc_...`) named in the delete request.
5045
51### Example
46## Example
5247
53```http
48```bash
5449curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
5550 -X DELETE \
5651 -H 'anthropic-version: 2023-06-01' \
from line 52
5752 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
5853```
5954
60#### Response
55### Response (200)
6156
6257```json
6358{
No line in this hunk matches that.