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

101-125 of 259, page 5 of 11

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

api/beta/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/beta/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/beta/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/beta/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/beta/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/beta/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/beta/organization/service_accounts Changed · +50 / -0 lines

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

from line 254
254254 
255255 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
256256 
257### Errors
258 
259Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
260 
261Each code below is the value of `error.details.error_code` in the response body.
262 
263- `sandbox_egress_restricted` (HTTP status 403)
264 
265 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.
266 
257267### Example
258268 
259269```bash
from line 1062
10521062 
10531063 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
10541064 
1065### Errors
1066 
1067Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1068 
1069Each code below is the value of `error.details.error_code` in the response body.
1070 
1071- `sandbox_egress_restricted` (HTTP status 403)
1072 
1073 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.
1074 
10551075### Example
10561076 
10571077```bash
from line 1330
13101330 
13111331 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
13121332 
1333### Errors
1334 
1335Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1336 
1337Each code below is the value of `error.details.error_code` in the response body.
1338 
1339- `sandbox_egress_restricted` (HTTP status 403)
1340 
1341 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.
1342 
13131343### Example
13141344 
13151345```bash
from line 1697
16671697 
16681698 - `"workspace_user"`
16691699 
1700#### Errors
1701 
1702Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1703 
1704Each code below is the value of `error.details.error_code` in the response body.
1705 
1706- `sandbox_egress_restricted` (HTTP status 403)
1707 
1708 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.
1709 
16701710#### Example
16711711 
16721712```bash
from line 2176
21362176- `workspace_id: string`
21372177 
21382178 Tagged workspace ID (`wrkspc_...`) named in the delete request.
2179 
2180#### Errors
2181 
2182Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2183 
2184Each code below is the value of `error.details.error_code` in the response body.
2185 
2186- `sandbox_egress_restricted` (HTTP status 403)
2187 
2188 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.
21392189 
21402190#### Example
21412191 

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

## Errors

from line 233
233233 
234234 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
235235 
236## Errors
237 
238Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
239 
240Each code below is the value of `error.details.error_code` in the response body.
241 
242- `sandbox_egress_restricted` (HTTP status 403)
243 
244 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.
245 
236246## Example
237247 
238248```bash

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

## Errors

from line 252
252252 
253253 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
254254 
255## Errors
256 
257Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
258 
259Each code below is the value of `error.details.error_code` in the response body.
260 
261- `sandbox_egress_restricted` (HTTP status 403)
262 
263 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.
264 
255265## Example
256266 
257267```bash

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

## Errors

from line 249
249249 
250250 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
251251 
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- `sandbox_egress_restricted` (HTTP status 403)
259 
260 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.
261 
252262## Example
253263 
254264```bash

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

### Errors ### Errors

from line 230
230230 
231231 - `"workspace_user"`
232232 
233### Errors
234 
235Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
236 
237Each code below is the value of `error.details.error_code` in the response body.
238 
239- `sandbox_egress_restricted` (HTTP status 403)
240 
241 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.
242 
233243### Example
234244 
235245```bash
from line 709
699709- `workspace_id: string`
700710 
701711 Tagged workspace ID (`wrkspc_...`) named in the delete request.
712 
713### Errors
714 
715Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
716 
717Each code below is the value of `error.details.error_code` in the response body.
718 
719- `sandbox_egress_restricted` (HTTP status 403)
720 
721 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.
702722 
703723### Example
704724 

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

## Errors

from line 228
228228 
229229 - `"workspace_user"`
230230 
231## Errors
232 
233Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
234 
235Each code below is the value of `error.details.error_code` in the response body.
236 
237- `sandbox_egress_restricted` (HTTP status 403)
238 
239 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.
240 
231241## Example
232242 
233243```bash

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

## Errors

from line 191
191191 
192192 Tagged workspace ID (`wrkspc_...`) named in the delete request.
193193 
194## Errors
195 
196Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
197 
198Each code below is the value of `error.details.error_code` in the response body.
199 
200- `sandbox_egress_restricted` (HTTP status 403)
201 
202 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.
203 
194204## Example
195205 
196206```bash

api/beta/organization/spend_limits Changed · +92 / -2 lines

### Errors ### Errors ### Errors ### Errors ## Errors ### spend_limits_admin_api_writes_not_enabled #### Errors #### Errors #### Errors

from line 345
345345 
346346 format: date-time
347347 
348### Errors
349 
350Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
351 
352Each code below is the value of `error.details.error_code` in the response body.
353 
354- `sandbox_egress_restricted` (HTTP status 403)
355 
356 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.
357 
358- `spend_limits_admin_api_writes_not_enabled` (HTTP status 403)
359 
360 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
361 
348362### Example
349363 
350364```bash
from line 541
527541 
528542 format: date-time
529543 
544### Errors
545 
546Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
547 
548Each code below is the value of `error.details.error_code` in the response body.
549 
550- `spend_limits_admin_api_writes_not_enabled` (HTTP status 403)
551 
552 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
553 
530554### Example
531555 
532556```bash
from line 613
589613 
590614- `id: string`
591615 
616### Errors
617 
618Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
619 
620Each code below is the value of `error.details.error_code` in the response body.
621 
622- `sandbox_egress_restricted` (HTTP status 403)
623 
624 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.
625 
626- `spend_limits_admin_api_writes_not_enabled` (HTTP status 403)
627 
628 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
629 
592630### Example
593631 
594632```bash
from line 968
930968 
931969- `next_page: string or null`
932970 
971### Errors
972 
973Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
974 
975Each code below is the value of `error.details.error_code` in the response body.
976 
977- `organization_type_not_supported` (HTTP status 400)
978 
979 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
980 
933981### Example
934982 
935983```bash
from line 1283
12351283 
12361284- `BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails object`
12371285 
1238 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
1239 
12401286 - `error_code: "spend_limits_admin_api_writes_not_enabled"`
12411287 
12421288### Beta Spend Summary
from line 1467
14211467 
14221468 - `id: string`
14231469 
1470## Errors
1471 
1472### spend_limits_admin_api_writes_not_enabled
1473 
1474HTTP status 403
1475 
1476- `"spend_limits_admin_api_writes_not_enabled"`
1477 
1478 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
1479 
1480 - `details: BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails`
1481 
1482 - `error_code: "spend_limits_admin_api_writes_not_enabled"`
1483 
14241484## Spend Limits › Effective
14251485 
14261486### List Effective Spend Limits
from line 1705
16451705 
16461706- `next_page: string or null`
16471707 
1708#### Errors
1709 
1710Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1711 
1712Each code below is the value of `error.details.error_code` in the response body.
1713 
1714- `organization_type_not_supported` (HTTP status 400)
1715 
1716 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
1717 
16481718#### Example
16491719 
16501720```bash
from line 2729
26592729 
26602730 - `"pending"`
26612731 
2732#### Errors
2733 
2734Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2735 
2736Each code below is the value of `error.details.error_code` in the response body.
2737 
2738- `sandbox_egress_restricted` (HTTP status 403)
2739 
2740 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.
2741 
26622742#### Example
26632743 
26642744```bash
from line 3067
29873067 - `"denied"`
29883068 
29893069 - `"pending"`
3070 
3071#### Errors
3072 
3073Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
3074 
3075Each code below is the value of `error.details.error_code` in the response body.
3076 
3077- `sandbox_egress_restricted` (HTTP status 403)
3078 
3079 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.
29903080 
29913081#### Example
29923082 

api/beta/organization/spend_limits/delete Changed · +14 / -0 lines

## Errors

from line 38
3838 
3939- `id: string`
4040 
41## Errors
42 
43Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
44 
45Each code below is the value of `error.details.error_code` in the response body.
46 
47- `sandbox_egress_restricted` (HTTP status 403)
48 
49 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.
50 
51- `spend_limits_admin_api_writes_not_enabled` (HTTP status 403)
52 
53 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
54 
4155## Example
4256 
4357```bash

api/beta/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/beta/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/beta/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/beta/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/beta/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/beta/organization/spend_limits/list Changed · +10 / -0 lines

## Errors

from line 326
326326 
327327- `next_page: string or null`
328328 
329## Errors
330 
331Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
332 
333Each code below is the value of `error.details.error_code` in the response body.
334 
335- `organization_type_not_supported` (HTTP status 400)
336 
337 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
338 
329339## Example
330340 
331341```bash

api/beta/organization/spend_limits/retrieve Changed · +10 / -0 lines

## Errors

from line 149
149149 
150150 format: date-time
151151 
152## Errors
153 
154Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
155 
156Each code below is the value of `error.details.error_code` in the response body.
157 
158- `spend_limits_admin_api_writes_not_enabled` (HTTP status 403)
159 
160 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
161 
152162## Example
153163 
154164```bash

api/beta/organization/spend_limits/set Changed · +14 / -0 lines

## Errors

from line 343
343343 
344344 format: date-time
345345 
346## Errors
347 
348Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
349 
350Each code below is the value of `error.details.error_code` in the response body.
351 
352- `sandbox_egress_restricted` (HTTP status 403)
353 
354 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.
355 
356- `spend_limits_admin_api_writes_not_enabled` (HTTP status 403)
357 
358 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
359 
346360## Example
347361 
348362```bash

api/beta/organization/users Changed · +228 / -100 lines

### Errors ### Errors ### Errors ## Errors ### cannot_sign_out_primary_owner ### cannot_sign_out_self ### cannot_sign_out_managed_member ### cannot_sign_out_membership_admin ### cannot_sign_out_owner ### cannot_sign_out_privileged_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 647
619647 
620648 - `"user"`
621649 
650### Errors
651 
652Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
653 
654Each code below is the value of `error.details.error_code` in the response body.
655 
656- `cannot_sign_out_primary_owner` (HTTP status 400)
657 
658 The member is the organization's primary owner, whom no API key or token can sign out.
659 
660- `cannot_sign_out_self` (HTTP status 400)
661 
662 The member is the user the API key or token belongs to.
663 
664- `organization_not_enrolled_in_beta` (HTTP status 400)
665 
666 The beta that the endpoint requires is not enabled for the organization. The message names the beta value.
667 
668- `cannot_sign_out_managed_member` (HTTP status 403)
669 
670 The member has the `managed` role, and this API key or token cannot sign them out. The error message says which keys and tokens can.
671 
672- `cannot_sign_out_membership_admin` (HTTP status 403)
673 
674 The member is a membership admin, and the person the API key or token belongs to is not allowed to sign out membership admins.
675 
676- `cannot_sign_out_owner` (HTTP status 403)
677 
678 The member is an owner or has owner permissions, and this API key or token cannot sign them out. In a Claude Enterprise organization, an API key with the `write:members` scope can.
679 
680- `cannot_sign_out_privileged_member` (HTTP status 403)
681 
682 This OAuth token cannot sign out a membership admin or a member whose roles grant owner, user management, or identity and access management.
683 
684- `sandbox_egress_restricted` (HTTP status 403)
685 
686 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.
687 
622688### Example
623689 
624690```bash
from line 714
648714 
649715- `BetaCannotSignOutManagedMemberErrorDetails object`
650716 
651 The member has the `managed` role, and this API key or token cannot sign them out. The error message says which keys and tokens can.
652 
653717 - `error_code: "cannot_sign_out_managed_member"`
654718 
655719### Beta Cannot Sign Out Membership Admin Error Details
from line 720
656720 
657721- `BetaCannotSignOutMembershipAdminErrorDetails object`
658722 
659 The member is a membership admin, and the person the API key or token belongs to is not allowed to sign out membership admins.
660 
661723 - `error_code: "cannot_sign_out_membership_admin"`
662724 
663725### Beta Cannot Sign Out Owner Error Details
from line 726
664726 
665727- `BetaCannotSignOutOwnerErrorDetails object`
666728 
667 The member is an owner or has owner permissions, and this API key or token cannot sign them out. In a Claude Enterprise organization, an API key with the `write:members` scope can.
668 
669729 - `error_code: "cannot_sign_out_owner"`
670730 
671731### Beta Cannot Sign Out Primary Owner Error Details
from line 732
672732 
673733- `BetaCannotSignOutPrimaryOwnerErrorDetails object`
674734 
675 The member is the organization's primary owner, whom no API key or token can sign out.
676 
677735 - `error_code: "cannot_sign_out_primary_owner"`
678736 
679737### Beta Cannot Sign Out Privileged Member Error Details
from line 738
680738 
681739- `BetaCannotSignOutPrivilegedMemberErrorDetails object`
682740 
683 This OAuth token cannot sign out a membership admin or a member whose roles grant owner, user management, or identity and access management.
684 
685741 - `error_code: "cannot_sign_out_privileged_member"`
686742 
687743### Beta Cannot Sign Out Self Error Details
from line 744
688744 
689745- `BetaCannotSignOutSelfErrorDetails object`
690746 
691 The member is the user the API key or token belongs to.
692 
693747 - `error_code: "cannot_sign_out_self"`
694748 
695749### Beta Organization User
from line 813
759813 - `id: string`
760814 
761815 ID of the User.
816 
817## Errors
818 
819### cannot_sign_out_primary_owner
820 
821HTTP status 400
822 
823- `"cannot_sign_out_primary_owner"`
824 
825 The member is the organization's primary owner, whom no API key or token can sign out.
826 
827 - `details: BetaCannotSignOutPrimaryOwnerErrorDetails`
828 
829 - `error_code: "cannot_sign_out_primary_owner"`
830 
831### cannot_sign_out_self
832 
833HTTP status 400
834 
835- `"cannot_sign_out_self"`
836 
837 The member is the user the API key or token belongs to.
838 
839 - `details: BetaCannotSignOutSelfErrorDetails`
840 
841 - `error_code: "cannot_sign_out_self"`
842 
843### cannot_sign_out_managed_member
844 
845HTTP status 403
846 
847- `"cannot_sign_out_managed_member"`
848 
849 The member has the `managed` role, and this API key or token cannot sign them out. The error message says which keys and tokens can.
850 
851 - `details: BetaCannotSignOutManagedMemberErrorDetails`
852 
853 - `error_code: "cannot_sign_out_managed_member"`
854 
855### cannot_sign_out_membership_admin
856 
857HTTP status 403
858 
859- `"cannot_sign_out_membership_admin"`
860 
861 The member is a membership admin, and the person the API key or token belongs to is not allowed to sign out membership admins.
862 
863 - `details: BetaCannotSignOutMembershipAdminErrorDetails`
864 
865 - `error_code: "cannot_sign_out_membership_admin"`
866 
867### cannot_sign_out_owner
868 
869HTTP status 403
870 
871- `"cannot_sign_out_owner"`
872 
873 The member is an owner or has owner permissions, and this API key or token cannot sign them out. In a Claude Enterprise organization, an API key with the `write:members` scope can.
874 
875 - `details: BetaCannotSignOutOwnerErrorDetails`
876 
877 - `error_code: "cannot_sign_out_owner"`
878 
879### cannot_sign_out_privileged_member
880 
881HTTP status 403
882 
883- `"cannot_sign_out_privileged_member"`
884 
885 This OAuth token cannot sign out a membership admin or a member whose roles grant owner, user management, or identity and access management.
886 
887 - `details: BetaCannotSignOutPrivilegedMemberErrorDetails`
888 
889 - `error_code: "cannot_sign_out_privileged_member"`
762890 

api/beta/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