The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Remove Workspace From Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/workspaces/remove
4---
5
16# Remove Workspace From Service Account
27
38**DELETE** `/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}`
from line 37
3237
3338 - `string`
3439
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3641
3742 - `"message-batches-2024-09-24"`
3843
from line 85
8085
8186 - `"user-profiles-2026-08-18"`
8287
88 - `"user-profiles-2026-09-04"`
89
8390 - `"advisor-tool-2026-03-01"`
8491
8592 - `"managed-agents-2026-04-01"`
from line 131
124131
125132## Returns
126133
127- `service_account_id: string`
128
129 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
130
131134- `type: "service_account_workspace_member_deleted"`
132135
133136 default: service_account_workspace_member_deleted
137
138- `service_account_id: string`
139
140 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
134141
135142- `workspace_id: string`
136143