The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Service Accounts
3url: https://platform.claude.com/docs/en/api/beta/organization/workspaces/service_accounts
4---
5
16# Service Accounts
27
38## List Service Account Workspace Members
from line 46
4146
4247 - `string`
4348
44 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
49 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4550
4651 - `"message-batches-2024-09-24"`
4752
from line 94
8994
9095 - `"user-profiles-2026-08-18"`
9196
97 - `"user-profiles-2026-09-04"`
98
9299 - `"advisor-tool-2026-03-01"`
93100
94101 - `"managed-agents-2026-04-01"`
from line 142
135142
136143- `data: array of BetaServiceAccountWorkspaceMember`
137144
145 - `type: "service_account_workspace_member"`
146
147 default: service_account_workspace_member
148
138149 - `created_by_actor_id: string or null`
139150
140151 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 158
147158
148159 Tagged service account ID (`svac_...`).
149160
150 - `type: "service_account_workspace_member"`
151
152 default: service_account_workspace_member
153
154161 - `workspace_id: string`
155162
156163 Tagged workspace ID (`wrkspc_...`).
from line 237
230237
231238 - `string`
232239
233 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
240 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
234241
235242 - `"message-batches-2024-09-24"`
236243
from line 285
278285
279286 - `"user-profiles-2026-08-18"`
280287
288 - `"user-profiles-2026-09-04"`
289
281290 - `"advisor-tool-2026-03-01"`
282291
283292 - `"managed-agents-2026-04-01"`
from line 351
342351
343352- `BetaServiceAccountWorkspaceMember object`
344353
354 - `type: "service_account_workspace_member"`
355
356 default: service_account_workspace_member
357
345358 - `created_by_actor_id: string or null`
346359
347360 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 367
354367
355368 Tagged service account ID (`svac_...`).
356369
357 - `type: "service_account_workspace_member"`
358
359 default: service_account_workspace_member
360
361370 - `workspace_id: string`
362371
363372 Tagged workspace ID (`wrkspc_...`).
from line 444
435444
436445 - `string`
437446
438 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
447 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
439448
440449 - `"message-batches-2024-09-24"`
441450
from line 492
483492
484493 - `"user-profiles-2026-08-18"`
485494
495 - `"user-profiles-2026-09-04"`
496
486497 - `"advisor-tool-2026-03-01"`
487498
488499 - `"managed-agents-2026-04-01"`
from line 540
529540
530541- `BetaServiceAccountWorkspaceMember object`
531542
543 - `type: "service_account_workspace_member"`
544
545 default: service_account_workspace_member
546
532547 - `created_by_actor_id: string or null`
533548
534549 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 556
541556
542557 Tagged service account ID (`svac_...`).
543558
544 - `type: "service_account_workspace_member"`
545
546 default: service_account_workspace_member
547
548559 - `workspace_id: string`
549560
550561 Tagged workspace ID (`wrkspc_...`).
from line 628
617628
618629 - `string`
619630
620 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
631 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
621632
622633 - `"message-batches-2024-09-24"`
623634
from line 676
665676
666677 - `"user-profiles-2026-08-18"`
667678
679 - `"user-profiles-2026-09-04"`
680
668681 - `"advisor-tool-2026-03-01"`
669682
670683 - `"managed-agents-2026-04-01"`
from line 738
725738
726739- `BetaServiceAccountWorkspaceMember object`
727740
741 - `type: "service_account_workspace_member"`
742
743 default: service_account_workspace_member
744
728745 - `created_by_actor_id: string or null`
729746
730747 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 754
737754
738755 Tagged service account ID (`svac_...`).
739756
740 - `type: "service_account_workspace_member"`
741
742 default: service_account_workspace_member
743
744757 - `workspace_id: string`
745758
746759 Tagged workspace ID (`wrkspc_...`).
from line 829
816829
817830 - `string`
818831
819 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
832 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
820833
821834 - `"message-batches-2024-09-24"`
822835
from line 877
864877
865878 - `"user-profiles-2026-08-18"`
866879
880 - `"user-profiles-2026-09-04"`
881
867882 - `"advisor-tool-2026-03-01"`
868883
869884 - `"managed-agents-2026-04-01"`
from line 923
908923
909924### Returns
910925
911- `service_account_id: string`
912
913 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
914
915926- `type: "service_account_workspace_member_deleted"`
916927
917928 default: service_account_workspace_member_deleted
918929
930- `service_account_id: string`
931
932 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
933
919934- `workspace_id: string`
920935
921936 Tagged workspace ID (`wrkspc_...`) named in the delete request.
from line 960
945960
946961- `ServiceAccountRemoveResponse object`
947962
948 - `service_account_id: string`
949
950 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
951
952963 - `type: "service_account_workspace_member_deleted"`
953964
954965 default: service_account_workspace_member_deleted
966
967 - `service_account_id: string`
968
969 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
955970
956971 - `workspace_id: string`
957972