The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Add Workspace To Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/workspaces/add
4---
5
16# Add Workspace To Service Account
27
38**POST** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
from line 32
2732
2833 - `string`
2934
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3136
3237 - `"message-batches-2024-09-24"`
3338
from line 80
7580
7681 - `"user-profiles-2026-08-18"`
7782
83 - `"user-profiles-2026-09-04"`
84
7885 - `"advisor-tool-2026-03-01"`
7986
8087 - `"managed-agents-2026-04-01"`
from line 146
139146
140147- `BetaServiceAccountWorkspaceMember object`
141148
149 - `type: "service_account_workspace_member"`
150
151 default: service_account_workspace_member
152
142153 - `created_by_actor_id: string or null`
143154
144155 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 161
150161 - `service_account_id: string`
151162
152163 Tagged service account ID (`svac_...`).
153
154 - `type: "service_account_workspace_member"`
155
156 default: service_account_workspace_member
157164
158165 - `workspace_id: string`
159166