Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261119T000710Z

259 pages moved out of 923 read.

Pages moved 259 significant first
Pages read 923 in this capture
Captured 00:07 UTC
Corpus hash 74cf54600c83 corpus-hash

What this read moved

201-225 of 259, page 9 of 11

This capture is too large to show at once. Changes 201-225 of 259 are below, significant first; the rest are on the following screens.

api/organization/rbac_groups/delete Changed · +18 / -0 lines

## Errors

from line 41
4141 
4242 ID of the RBAC Group.
4343 
44## Errors
45 
46Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
47 
48Each code below is the value of `error.details.error_code` in the response body.
49 
50- `rbac_group_grants_owner_access` (HTTP status 400)
51 
52 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
53 
54- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
55 
56 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
57 
58- `sandbox_egress_restricted` (HTTP status 403)
59 
60 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
61 
4462## Example
4563 
4664```bash

api/organization/rbac_groups/members Changed · +36 / -0 lines

### Errors ### Errors

from line 163
163163 
164164 ID of the User.
165165 
166### Errors
167 
168Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
169 
170Each code below is the value of `error.details.error_code` in the response body.
171 
172- `rbac_group_grants_owner_access` (HTTP status 400)
173 
174 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
175 
176- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
177 
178 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
179 
180- `sandbox_egress_restricted` (HTTP status 403)
181 
182 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
183 
166184### Example
167185 
168186```bash
from line 248
230248 - `user_id: string`
231249 
232250 ID of the User.
251 
252### Errors
253 
254Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
255 
256Each code below is the value of `error.details.error_code` in the response body.
257 
258- `rbac_group_grants_owner_access` (HTTP status 400)
259 
260 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
261 
262- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
263 
264 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
265 
266- `sandbox_egress_restricted` (HTTP status 403)
267 
268 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
233269 
234270### Example
235271 

api/organization/rbac_groups/members/add Changed · +18 / -0 lines

## Errors

from line 61
6161 
6262 ID of the User.
6363 
64## Errors
65 
66Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
67 
68Each code below is the value of `error.details.error_code` in the response body.
69 
70- `rbac_group_grants_owner_access` (HTTP status 400)
71 
72 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
73 
74- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
75 
76 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
77 
78- `sandbox_egress_restricted` (HTTP status 403)
79 
80 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
81 
6482## Example
6583 
6684```bash

api/organization/rbac_groups/members/remove Changed · +18 / -0 lines

## Errors

from line 47
4747 
4848 ID of the User.
4949 
50## Errors
51 
52Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
53 
54Each code below is the value of `error.details.error_code` in the response body.
55 
56- `rbac_group_grants_owner_access` (HTTP status 400)
57 
58 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
59 
60- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
61 
62 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
63 
64- `sandbox_egress_restricted` (HTTP status 403)
65 
66 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
67 
5068## Example
5169 
5270```bash

api/organization/rbac_groups/update Changed · +10 / -0 lines

## Errors

from line 77
7777 
7878 format: date-time
7979 
80## Errors
81 
82Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
83 
84Each code below is the value of `error.details.error_code` in the response body.
85 
86- `sandbox_egress_restricted` (HTTP status 403)
87 
88 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
89 
8090## Example
8191 
8292```bash

api/organization/rbac_roles Changed · +50 / -0 lines

### Errors ### Errors #### Errors

from line 96
9696 Opaque cursor for the next page. Pass as the `page` parameter on the next
9797 request.
9898 
99### Errors
100 
101Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
102 
103Each code below is the value of `error.details.error_code` in the response body.
104 
105- `organization_type_not_supported` (HTTP status 400)
106 
107 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
108 
109- `parent_organization_required` (HTTP status 400)
110 
111 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
112 
99113### Example
100114 
101115```bash
from line 213
199213 
200214 format: date-time
201215 
216### Errors
217 
218Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
219 
220Each code below is the value of `error.details.error_code` in the response body.
221 
222- `organization_type_not_supported` (HTTP status 400)
223 
224 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
225 
226- `parent_organization_required` (HTTP status 400)
227 
228 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
229 
230- `rbac_role_not_found` (HTTP status 404)
231 
232 No RBAC Role with this ID was found.
233 
202234### Example
203235 
204236```bash
from line 508
476508 
477509 Opaque cursor for the next page. Pass as the `page` parameter on the next
478510 request.
511 
512#### Errors
513 
514Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
515 
516Each code below is the value of `error.details.error_code` in the response body.
517 
518- `organization_type_not_supported` (HTTP status 400)
519 
520 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
521 
522- `parent_organization_required` (HTTP status 400)
523 
524 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
525 
526- `rbac_role_not_found` (HTTP status 404)
527 
528 No RBAC Role with this ID was found.
479529 
480530#### Example
481531 

api/organization/rbac_roles/list Changed · +14 / -0 lines

## Errors

from line 94
9494 Opaque cursor for the next page. Pass as the `page` parameter on the next
9595 request.
9696 
97## Errors
98 
99Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
100 
101Each code below is the value of `error.details.error_code` in the response body.
102 
103- `organization_type_not_supported` (HTTP status 400)
104 
105 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
106 
107- `parent_organization_required` (HTTP status 400)
108 
109 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
110 
97111## Example
98112 
99113```bash

api/organization/rbac_roles/permissions Changed · +18 / -0 lines

### Errors

from line 164
164164 Opaque cursor for the next page. Pass as the `page` parameter on the next
165165 request.
166166 
167### Errors
168 
169Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
170 
171Each code below is the value of `error.details.error_code` in the response body.
172 
173- `organization_type_not_supported` (HTTP status 400)
174 
175 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
176 
177- `parent_organization_required` (HTTP status 400)
178 
179 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
180 
181- `rbac_role_not_found` (HTTP status 404)
182 
183 No RBAC Role with this ID was found.
184 
167185### Example
168186 
169187```bash

api/organization/rbac_roles/permissions/list Changed · +18 / -0 lines

## Errors

from line 162
162162 Opaque cursor for the next page. Pass as the `page` parameter on the next
163163 request.
164164 
165## Errors
166 
167Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
168 
169Each code below is the value of `error.details.error_code` in the response body.
170 
171- `organization_type_not_supported` (HTTP status 400)
172 
173 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
174 
175- `parent_organization_required` (HTTP status 400)
176 
177 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
178 
179- `rbac_role_not_found` (HTTP status 404)
180 
181 No RBAC Role with this ID was found.
182 
165183## Example
166184 
167185```bash

api/organization/rbac_roles/retrieve Changed · +18 / -0 lines

## Errors

from line 77
7777 
7878 format: date-time
7979 
80## Errors
81 
82Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
83 
84Each code below is the value of `error.details.error_code` in the response body.
85 
86- `organization_type_not_supported` (HTTP status 400)
87 
88 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
89 
90- `parent_organization_required` (HTTP status 400)
91 
92 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
93 
94- `rbac_role_not_found` (HTTP status 404)
95 
96 No RBAC Role with this ID was found.
97 
8098## Example
8199 
82100```bash

api/organization/service_accounts Changed · +50 / -0 lines

### Errors ### Errors ### Errors #### Errors #### Errors

from line 114
114114 
115115 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
116116 
117### Errors
118 
119Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
120 
121Each code below is the value of `error.details.error_code` in the response body.
122 
123- `sandbox_egress_restricted` (HTTP status 403)
124 
125 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
126 
117127### Example
118128 
119129```bash
from line 502
492502 
493503 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
494504 
505### Errors
506 
507Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
508 
509Each code below is the value of `error.details.error_code` in the response body.
510 
511- `sandbox_egress_restricted` (HTTP status 403)
512 
513 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
514 
495515### Example
496516 
497517```bash
from line 630
610630 
611631 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
612632 
633### Errors
634 
635Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
636 
637Each code below is the value of `error.details.error_code` in the response body.
638 
639- `sandbox_egress_restricted` (HTTP status 403)
640 
641 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
642 
613643### Example
614644 
615645```bash
from line 857
827857 
828858 - `"workspace_user"`
829859 
860#### Errors
861 
862Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
863 
864Each code below is the value of `error.details.error_code` in the response body.
865 
866- `sandbox_egress_restricted` (HTTP status 403)
867 
868 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
869 
830870#### Example
831871 
832872```bash
from line 1056
10161056- `workspace_id: string`
10171057 
10181058 Tagged workspace ID (`wrkspc_...`) named in the delete request.
1059 
1060#### Errors
1061 
1062Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1063 
1064Each code below is the value of `error.details.error_code` in the response body.
1065 
1066- `sandbox_egress_restricted` (HTTP status 403)
1067 
1068 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
10191069 
10201070#### Example
10211071 

api/organization/service_accounts/archive Changed · +10 / -0 lines

## Errors

from line 93
9393 
9494 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
9595 
96## Errors
97 
98Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
99 
100Each code below is the value of `error.details.error_code` in the response body.
101 
102- `sandbox_egress_restricted` (HTTP status 403)
103 
104 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
105 
96106## Example
97107 
98108```bash

api/organization/service_accounts/create Changed · +10 / -0 lines

## Errors

from line 112
112112 
113113 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
114114 
115## Errors
116 
117Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
118 
119Each code below is the value of `error.details.error_code` in the response body.
120 
121- `sandbox_egress_restricted` (HTTP status 403)
122 
123 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
124 
115125## Example
116126 
117127```bash

api/organization/service_accounts/update Changed · +10 / -0 lines

## Errors

from line 109
109109 
110110 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
111111 
112## Errors
113 
114Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
115 
116Each code below is the value of `error.details.error_code` in the response body.
117 
118- `sandbox_egress_restricted` (HTTP status 403)
119 
120 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
121 
112122## Example
113123 
114124```bash

api/organization/service_accounts/workspaces Changed · +20 / -0 lines

### Errors ### Errors

from line 90
9090 
9191 - `"workspace_user"`
9292 
93### Errors
94 
95Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
96 
97Each code below is the value of `error.details.error_code` in the response body.
98 
99- `sandbox_egress_restricted` (HTTP status 403)
100 
101 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
102 
93103### Example
94104 
95105```bash
from line 289
279289- `workspace_id: string`
280290 
281291 Tagged workspace ID (`wrkspc_...`) named in the delete request.
292 
293### Errors
294 
295Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
296 
297Each code below is the value of `error.details.error_code` in the response body.
298 
299- `sandbox_egress_restricted` (HTTP status 403)
300 
301 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
282302 
283303### Example
284304 

api/organization/service_accounts/workspaces/add Changed · +10 / -0 lines

## Errors

from line 88
8888 
8989 - `"workspace_user"`
9090 
91## Errors
92 
93Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
94 
95Each code below is the value of `error.details.error_code` in the response body.
96 
97- `sandbox_egress_restricted` (HTTP status 403)
98 
99 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
100 
91101## Example
92102 
93103```bash

api/organization/service_accounts/workspaces/remove Changed · +10 / -0 lines

## Errors

from line 51
5151 
5252 Tagged workspace ID (`wrkspc_...`) named in the delete request.
5353 
54## Errors
55 
56Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
57 
58Each code below is the value of `error.details.error_code` in the response body.
59 
60- `sandbox_egress_restricted` (HTTP status 403)
61 
62 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
63 
5464## Example
5565 
5666```bash

api/organization/spend_limits Changed · +30 / -0 lines

#### Errors #### Errors #### Errors

from line 669
669669 
670670- `next_page: string or null`
671671 
672#### Errors
673 
674Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
675 
676Each code below is the value of `error.details.error_code` in the response body.
677 
678- `organization_type_not_supported` (HTTP status 400)
679 
680 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
681 
672682#### Example
673683 
674684```bash
from line 1693
16831693 
16841694 - `"pending"`
16851695 
1696#### Errors
1697 
1698Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1699 
1700Each code below is the value of `error.details.error_code` in the response body.
1701 
1702- `sandbox_egress_restricted` (HTTP status 403)
1703 
1704 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
1705 
16861706#### Example
16871707 
16881708```bash
from line 2031
20112031 - `"denied"`
20122032 
20132033 - `"pending"`
2034 
2035#### Errors
2036 
2037Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2038 
2039Each code below is the value of `error.details.error_code` in the response body.
2040 
2041- `sandbox_egress_restricted` (HTTP status 403)
2042 
2043 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
20142044 
20152045#### Example
20162046 

api/organization/spend_limits/effective Changed · +10 / -0 lines

### Errors

from line 227
227227 
228228- `next_page: string or null`
229229 
230### Errors
231 
232Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
233 
234Each code below is the value of `error.details.error_code` in the response body.
235 
236- `organization_type_not_supported` (HTTP status 400)
237 
238 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
239 
230240### Example
231241 
232242```bash

api/organization/spend_limits/effective/list Changed · +10 / -0 lines

## Errors

from line 225
225225 
226226- `next_page: string or null`
227227 
228## Errors
229 
230Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
231 
232Each code below is the value of `error.details.error_code` in the response body.
233 
234- `organization_type_not_supported` (HTTP status 400)
235 
236 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
237 
228238## Example
229239 
230240```bash

api/organization/spend_limits/increase_requests Changed · +20 / -0 lines

### Errors ### Errors

from line 977
977977 
978978 - `"pending"`
979979 
980### Errors
981 
982Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
983 
984Each code below is the value of `error.details.error_code` in the response body.
985 
986- `sandbox_egress_restricted` (HTTP status 403)
987 
988 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
989 
980990### Example
981991 
982992```bash
from line 1315
13051315 - `"denied"`
13061316 
13071317 - `"pending"`
1318 
1319### Errors
1320 
1321Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1322 
1323Each code below is the value of `error.details.error_code` in the response body.
1324 
1325- `sandbox_egress_restricted` (HTTP status 403)
1326 
1327 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
13081328 
13091329### Example
13101330 

api/organization/spend_limits/increase_requests/approve Changed · +10 / -0 lines

## Errors

from line 338
338338 
339339 - `"pending"`
340340 
341## Errors
342 
343Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
344 
345Each code below is the value of `error.details.error_code` in the response body.
346 
347- `sandbox_egress_restricted` (HTTP status 403)
348 
349 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
350 
341351## Example
342352 
343353```bash

api/organization/spend_limits/increase_requests/deny Changed · +10 / -0 lines

## Errors

from line 256
256256 
257257 - `"pending"`
258258 
259## Errors
260 
261Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
262 
263Each code below is the value of `error.details.error_code` in the response body.
264 
265- `sandbox_egress_restricted` (HTTP status 403)
266 
267 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
268 
259269## Example
260270 
261271```bash

api/organization/users Changed · +109 / -69 lines

### Errors ### Errors ## Errors ### cannot_remove_last_member

from line 324
324324 
325325 - `"user"`
326326 
327### Errors
328 
329Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
330 
331Each code below is the value of `error.details.error_code` in the response body.
332 
333- `sandbox_egress_restricted` (HTTP status 403)
334 
335 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
336 
327337### Example
328338 
329339```bash
from line 393
383393 
384394 ID of the User.
385395 
396### Errors
397 
398Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
399 
400Each code below is the value of `error.details.error_code` in the response body.
401 
402- `cannot_remove_last_member` (HTTP status 400)
403 
404 The user is the organization's only member. Add another member before removing this one.
405 
406- `sandbox_egress_restricted` (HTTP status 403)
407 
408 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
409 
410- `concurrent_membership_change` (HTTP status 409)
411 
412 Another change to the organization's members is in progress. Retry the request once it completes.
413 
386414### Example
387415 
388416```bash
from line 435
407435 
408436- `CannotRemoveLastMemberErrorDetails object`
409437 
410 The user is the organization's only member. Add another member before removing this one.
411 
412438 - `error_code: "cannot_remove_last_member"`
413439 
414440### Organization User
from line 504
478504 - `id: string`
479505 
480506 ID of the User.
507 
508## Errors
509 
510### cannot_remove_last_member
511 
512HTTP status 400
513 
514- `"cannot_remove_last_member"`
515 
516 The user is the organization's only member. Add another member before removing this one.
517 
518 - `details: CannotRemoveLastMemberErrorDetails`
519 
520 - `error_code: "cannot_remove_last_member"`
481521 

api/organization/users/remove Changed · +18 / -0 lines

## Errors

from line 37
3737 
3838 ID of the User.
3939 
40## Errors
41 
42Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
43 
44Each code below is the value of `error.details.error_code` in the response body.
45 
46- `cannot_remove_last_member` (HTTP status 400)
47 
48 The user is the organization's only member. Add another member before removing this one.
49 
50- `sandbox_egress_restricted` (HTTP status 403)
51 
52 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
53 
54- `concurrent_membership_change` (HTTP status 409)
55 
56 Another change to the organization's members is in progress. Retry the request once it completes.
57 
4058## Example
4159 
4260```bash
Feedback