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

176-200 of 259, page 8 of 11

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

api/organization/api_keys/update Changed · +18 / -0 lines

## Errors

from line 159
159159 
160160 - `"inactive"`
161161 
162## Errors
163 
164Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
165 
166Each code below is the value of `error.details.error_code` in the response body.
167 
168- `org_api_key_limit_exceeded` (HTTP status 400)
169 
170 The organization has reached its limit of active API keys.
171 
172- `workspace_api_key_limit_exceeded` (HTTP status 400)
173 
174 The workspace has reached its limit of active API keys.
175 
176- `sandbox_egress_restricted` (HTTP status 403)
177 
178 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.
179 
162180## Example
163181 
164182```bash

api/organization/compliance_settings Changed · +10 / -0 lines

### Errors

from line 135
135135 
136136 default: disabled
137137 
138### Errors
139 
140Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
141 
142Each code below is the value of `error.details.error_code` in the response body.
143 
144- `sandbox_egress_restricted` (HTTP status 403)
145 
146 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.
147 
138148### Example
139149 
140150```bash

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

## Errors

from line 71
7171 
7272 default: disabled
7373 
74## Errors
75 
76Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
77 
78Each code below is the value of `error.details.error_code` in the response body.
79 
80- `sandbox_egress_restricted` (HTTP status 403)
81 
82 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.
83 
7484## Example
7585 
7686```bash

api/organization/external_keys Changed · +102 / -8 lines

### Errors ### Errors ### Errors ### Errors ## Errors ### external_key_in_workspace_policy ### external_key_validation_failed ### external_key_validation_timed_out ### external_key_changed

from line 195
195195 
196196 ID of the user profile the key is bound to, or null if the key is not bound to one. A key bound to a user profile can only be attached to a Workspace that has the same user profile. A key that isn't bound can only be attached to a Workspace that has no user profile.
197197 
198### Errors
199 
200Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
201 
202Each code below is the value of `error.details.error_code` in the response body.
203 
204- `user_profile_not_found` (HTTP status 400)
205 
206 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
207 
208- `sandbox_egress_restricted` (HTTP status 403)
209 
210 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.
211 
198212### Example
199213 
200214```bash
from line 774
760774 
761775 ID of the user profile the key is bound to, or null if the key is not bound to one. A key bound to a user profile can only be attached to a Workspace that has the same user profile. A key that isn't bound can only be attached to a Workspace that has no user profile.
762776 
777### Errors
778 
779Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
780 
781Each code below is the value of `error.details.error_code` in the response body.
782 
783- `external_key_in_workspace_policy` (HTTP status 400)
784 
785 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
786 
787- `sandbox_egress_restricted` (HTTP status 403)
788 
789 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.
790 
763791### Example
764792 
765793```bash
from line 855
827855 
828856 ID of the deleted External Key.
829857 
858### Errors
859 
860Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
861 
862Each code below is the value of `error.details.error_code` in the response body.
863 
864- `external_key_in_workspace_policy` (HTTP status 400)
865 
866 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
867 
868- `sandbox_egress_restricted` (HTTP status 403)
869 
870 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.
871 
830872### Example
831873 
832874```bash
from line 932
890932 
891933 - `"success"`
892934 
935### Errors
936 
937Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
938 
939Each code below is the value of `error.details.error_code` in the response body.
940 
941- `sandbox_egress_restricted` (HTTP status 403)
942 
943 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.
944 
893945### Example
894946 
895947```bash
from line 1149
10971149 
10981150- `ExternalKeyChangedErrorDetails object`
10991151 
1100 The external key changed while the request was validating it. Send the request again.
1101 
11021152 - `error_code: "external_key_changed"`
11031153 
11041154### External Key In Workspace Policy Error Details
from line 1155
11051155 
11061156- `ExternalKeyInWorkspacePolicyErrorDetails object`
11071157 
1108 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
1109 
11101158 - `error_code: "external_key_in_workspace_policy"`
11111159 
11121160### External Key Unattached Attachment
from line 1169
11211169 
11221170- `ExternalKeyValidationFailedErrorDetails object`
11231171 
1124 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
1125 
11261172 - `error_code: "external_key_validation_failed"`
11271173 
11281174### External Key Validation Timed Out Error Details
from line 1175
11291175 
11301176- `ExternalKeyValidationTimedOutErrorDetails object`
11311177 
1132 Anthropic's validation of the External Key did not finish in time, so the request was refused. Wait a moment, then send the request again.
1133 
11341178 - `error_code: "external_key_validation_timed_out"`
11351179 
11361180### GCP External Key Config
from line 1223
11791223 - `"failure"`
11801224 
11811225 - `"success"`
1226 
1227## Errors
1228 
1229### external_key_in_workspace_policy
1230 
1231HTTP status 400
1232 
1233- `"external_key_in_workspace_policy"`
1234 
1235 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
1236 
1237 - `details: ExternalKeyInWorkspacePolicyErrorDetails`
1238 
1239 - `error_code: "external_key_in_workspace_policy"`
1240 
1241### external_key_validation_failed
1242 
1243HTTP status 400
1244 
1245- `"external_key_validation_failed"`
1246 
1247 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
1248 
1249 - `details: ExternalKeyValidationFailedErrorDetails`
1250 
1251 - `error_code: "external_key_validation_failed"`
1252 
1253### external_key_validation_timed_out
1254 
1255HTTP status 400
1256 
1257- `"external_key_validation_timed_out"`
1258 
1259 Anthropic's validation of the External Key did not finish in time, so the request was refused. Wait a moment, then send the request again.
1260 
1261 - `details: ExternalKeyValidationTimedOutErrorDetails`
1262 
1263 - `error_code: "external_key_validation_timed_out"`
1264 
1265### external_key_changed
1266 
1267HTTP status 409
1268 
1269- `"external_key_changed"`
1270 
1271 The external key changed while the request was validating it. Send the request again.
1272 
1273 - `details: ExternalKeyChangedErrorDetails`
1274 
1275 - `error_code: "external_key_changed"`
11821276 

api/organization/external_keys/create Changed · +14 / -0 lines

## Errors

from line 193
193193 
194194 ID of the user profile the key is bound to, or null if the key is not bound to one. A key bound to a user profile can only be attached to a Workspace that has the same user profile. A key that isn't bound can only be attached to a Workspace that has no user profile.
195195 
196## Errors
197 
198Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
199 
200Each code below is the value of `error.details.error_code` in the response body.
201 
202- `user_profile_not_found` (HTTP status 400)
203 
204 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
205 
206- `sandbox_egress_restricted` (HTTP status 403)
207 
208 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.
209 
196210## Example
197211 
198212```bash

api/organization/external_keys/delete Changed · +14 / -0 lines

## Errors

from line 37
3737 
3838 ID of the deleted External Key.
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- `external_key_in_workspace_policy` (HTTP status 400)
47 
48 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
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 
4054## Example
4155 
4256```bash

api/organization/external_keys/update Changed · +14 / -0 lines

## Errors

from line 201
201201 
202202 ID of the user profile the key is bound to, or null if the key is not bound to one. A key bound to a user profile can only be attached to a Workspace that has the same user profile. A key that isn't bound can only be attached to a Workspace that has no user profile.
203203 
204## Errors
205 
206Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
207 
208Each code below is the value of `error.details.error_code` in the response body.
209 
210- `external_key_in_workspace_policy` (HTTP status 400)
211 
212 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
213 
214- `sandbox_egress_restricted` (HTTP status 403)
215 
216 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.
217 
204218## Example
205219 
206220```bash

api/organization/external_keys/validate Changed · +10 / -0 lines

## Errors

from line 48
4848 
4949 - `"success"`
5050 
51## Errors
52 
53Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
54 
55Each code below is the value of `error.details.error_code` in the response body.
56 
57- `sandbox_egress_restricted` (HTTP status 403)
58 
59 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.
60 
5161## Example
5262 
5363```bash

api/organization/federation Changed · +80 / -0 lines

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

from line 246
246246 
247247 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
248248 
249#### Errors
250 
251Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
252 
253Each code below is the value of `error.details.error_code` in the response body.
254 
255- `sandbox_egress_restricted` (HTTP status 403)
256 
257 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.
258 
249259#### Example
250260 
251261```bash
from line 961
951961 
952962 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
953963 
964#### Errors
965 
966Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
967 
968Each code below is the value of `error.details.error_code` in the response body.
969 
970- `sandbox_egress_restricted` (HTTP status 403)
971 
972 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.
973 
954974#### Example
955975 
956976```bash
from line 1177
11571177 
11581178 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
11591179 
1180#### Errors
1181 
1182Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1183 
1184Each code below is the value of `error.details.error_code` in the response body.
1185 
1186- `sandbox_egress_restricted` (HTTP status 403)
1187 
1188 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.
1189 
11601190#### Example
11611191 
11621192```bash
from line 1473
14431473 
14441474 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
14451475 
1476#### Errors
1477 
1478Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1479 
1480Each code below is the value of `error.details.error_code` in the response body.
1481 
1482- `sandbox_egress_restricted` (HTTP status 403)
1483 
1484 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.
1485 
14461486#### Example
14471487 
14481488```bash
from line 2220
21802220 
21812221 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
21822222 
2223#### Errors
2224 
2225Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2226 
2227Each code below is the value of `error.details.error_code` in the response body.
2228 
2229- `sandbox_egress_restricted` (HTTP status 403)
2230 
2231 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.
2232 
21832233#### Example
21842234 
21852235```bash
from line 2445
23952445 
23962446 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
23972447 
2448#### Errors
2449 
2450Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2451 
2452Each code below is the value of `error.details.error_code` in the response body.
2453 
2454- `sandbox_egress_restricted` (HTTP status 403)
2455 
2456 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.
2457 
23982458#### Example
23992459 
24002460```bash
from line 2575
25152575 
25162576 Workspace display name. Populated when listing; null in the enable response.
25172577 
2578#### Errors
2579 
2580Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2581 
2582Each code below is the value of `error.details.error_code` in the response body.
2583 
2584- `sandbox_egress_restricted` (HTTP status 403)
2585 
2586 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.
2587 
25182588#### Example
25192589 
25202590```bash
from line 2754
26842754- `workspace_id: string`
26852755 
26862756 Tagged ID of the workspace named in the delete request. Removal is idempotent.
2757 
2758#### Errors
2759 
2760Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2761 
2762Each code below is the value of `error.details.error_code` in the response body.
2763 
2764- `sandbox_egress_restricted` (HTTP status 403)
2765 
2766 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.
26872767 
26882768#### Example
26892769 

api/organization/federation/issuers Changed · +30 / -0 lines

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

from line 244
244244 
245245 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
246246 
247### Errors
248 
249Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
250 
251Each code below is the value of `error.details.error_code` in the response body.
252 
253- `sandbox_egress_restricted` (HTTP status 403)
254 
255 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.
256 
247257### Example
248258 
249259```bash
from line 959
949959 
950960 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
951961 
962### Errors
963 
964Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
965 
966Each code below is the value of `error.details.error_code` in the response body.
967 
968- `sandbox_egress_restricted` (HTTP status 403)
969 
970 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.
971 
952972### Example
953973 
954974```bash
from line 1174
11541174 - `updated_by_actor_id: string or null`
11551175 
11561176 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
1177 
1178### Errors
1179 
1180Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1181 
1182Each code below is the value of `error.details.error_code` in the response body.
1183 
1184- `sandbox_egress_restricted` (HTTP status 403)
1185 
1186 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.
11571187 
11581188### Example
11591189 

api/organization/federation/issuers/archive Changed · +10 / -0 lines

## Errors

from line 169
169169 
170170 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
171171 
172## Errors
173 
174Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
175 
176Each code below is the value of `error.details.error_code` in the response body.
177 
178- `sandbox_egress_restricted` (HTTP status 403)
179 
180 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.
181 
172182## Example
173183 
174184```bash

api/organization/federation/issuers/create Changed · +10 / -0 lines

## Errors

from line 242
242242 
243243 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
244244 
245## Errors
246 
247Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
248 
249Each code below is the value of `error.details.error_code` in the response body.
250 
251- `sandbox_egress_restricted` (HTTP status 403)
252 
253 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.
254 
245255## Example
246256 
247257```bash

api/organization/federation/issuers/update Changed · +10 / -0 lines

## Errors

from line 249
249249 
250250 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
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/organization/federation/rules Changed · +50 / -0 lines

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

from line 250
250250 
251251 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
252252 
253### Errors
254 
255Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
256 
257Each code below is the value of `error.details.error_code` in the response body.
258 
259- `sandbox_egress_restricted` (HTTP status 403)
260 
261 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.
262 
253263### Example
254264 
255265```bash
from line 997
987997 
988998 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
989999 
1000### Errors
1001 
1002Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1003 
1004Each code below is the value of `error.details.error_code` in the response body.
1005 
1006- `sandbox_egress_restricted` (HTTP status 403)
1007 
1008 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.
1009 
9901010### Example
9911011 
9921012```bash
from line 1222
12021222 
12031223 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
12041224 
1225### Errors
1226 
1227Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1228 
1229Each code below is the value of `error.details.error_code` in the response body.
1230 
1231- `sandbox_egress_restricted` (HTTP status 403)
1232 
1233 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.
1234 
12051235### Example
12061236 
12071237```bash
from line 1565
15351565 
15361566 Workspace display name. Populated when listing; null in the enable response.
15371567 
1568#### Errors
1569 
1570Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1571 
1572Each code below is the value of `error.details.error_code` in the response body.
1573 
1574- `sandbox_egress_restricted` (HTTP status 403)
1575 
1576 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.
1577 
15381578#### Example
15391579 
15401580```bash
from line 1744
17041744- `workspace_id: string`
17051745 
17061746 Tagged ID of the workspace named in the delete request. Removal is idempotent.
1747 
1748#### Errors
1749 
1750Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1751 
1752Each code below is the value of `error.details.error_code` in the response body.
1753 
1754- `sandbox_egress_restricted` (HTTP status 403)
1755 
1756 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.
17071757 
17081758#### Example
17091759 

api/organization/federation/rules/archive Changed · +10 / -0 lines

## Errors

from line 166
166166 
167167 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
168168 
169## Errors
170 
171Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
172 
173Each code below is the value of `error.details.error_code` in the response body.
174 
175- `sandbox_egress_restricted` (HTTP status 403)
176 
177 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.
178 
169179## Example
170180 
171181```bash

api/organization/federation/rules/create Changed · +10 / -0 lines

## Errors

from line 248
248248 
249249 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
250250 
251## Errors
252 
253Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
254 
255Each code below is the value of `error.details.error_code` in the response body.
256 
257- `sandbox_egress_restricted` (HTTP status 403)
258 
259 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.
260 
251261## Example
252262 
253263```bash

api/organization/federation/rules/update Changed · +10 / -0 lines

## Errors

from line 252
252252 
253253 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
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/organization/federation/rules/workspaces Changed · +20 / -0 lines

### Errors ### Errors

from line 72
7272 
7373 Workspace display name. Populated when listing; null in the enable response.
7474 
75### Errors
76 
77Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
78 
79Each code below is the value of `error.details.error_code` in the response body.
80 
81- `sandbox_egress_restricted` (HTTP status 403)
82 
83 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.
84 
7585### Example
7686 
7787```bash
from line 251
241251- `workspace_id: string`
242252 
243253 Tagged ID of the workspace named in the delete request. Removal is idempotent.
254 
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.
244264 
245265### Example
246266 

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

## Errors

from line 70
7070 
7171 Workspace display name. Populated when listing; null in the enable response.
7272 
73## Errors
74 
75Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
76 
77Each code below is the value of `error.details.error_code` in the response body.
78 
79- `sandbox_egress_restricted` (HTTP status 403)
80 
81 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.
82 
7383## Example
7484 
7585```bash

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

## Errors

from line 48
4848 
4949 Tagged ID of the workspace named in the delete request. Removal is idempotent.
5050 
51## Errors
52 
53Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
54 
55Each code below is the value of `error.details.error_code` in the response body.
56 
57- `sandbox_egress_restricted` (HTTP status 403)
58 
59 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.
60 
5161## Example
5262 
5363```bash

api/organization/invites Changed · +198 / -108 lines

### Errors ### Errors ## Errors ### already_member ### cannot_invite_emails_with_unverified_domains ### email_domain_not_allowed ### invite_already_exists

from line 127
127127 
128128 - `"pending"`
129129 
130### Errors
131 
132Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
133 
134Each code below is the value of `error.details.error_code` in the response body.
135 
136- `already_member` (HTTP status 400)
137 
138 The email address already belongs to a user in the organization. The message names the user.
139 
140- `cannot_invite_emails_with_unverified_domains` (HTTP status 400)
141 
142 The email address's domain is not one of the verified domains of the organization's parent organization.
143 
144- `email_domain_not_allowed` (HTTP status 400)
145 
146 The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
147 
148- `invite_already_exists` (HTTP status 400)
149 
150 A pending invite already exists for the email address. The message names the invite.
151 
152- `org_member_limit_exceeded` (HTTP status 400)
153 
154 The organization has reached the member limit that Anthropic set for it. Pending invites count toward the limit.
155 
156- `rbac_group_grants_owner_access` (HTTP status 400)
157 
158 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.
159 
160- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
161 
162 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.
163 
164- `sandbox_egress_restricted` (HTTP status 403)
165 
166 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.
167 
130168### Example
131169 
132170```bash
from line 527
489527 
490528 ID of the Invite.
491529 
530### Errors
531 
532Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
533 
534Each code below is the value of `error.details.error_code` in the response body.
535 
536- `sandbox_egress_restricted` (HTTP status 403)
537 
538 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.
539 
492540### Example
493541 
494542```bash
from line 561
513561 
514562- `AlreadyMemberErrorDetails object`
515563 
516 The email address already belongs to a user in the organization. The message names the user.
517 
518564 - `error_code: "already_member"`
519565 
520566### Cannot Invite Emails With Unverified Domains Error Details
from line 567
521567 
522568- `CannotInviteEmailsWithUnverifiedDomainsErrorDetails object`
523569 
524 The email address's domain is not one of the verified domains of the organization's parent organization.
525 
526570 - `error_code: "cannot_invite_emails_with_unverified_domains"`
527571 
528572### Email Domain Not Allowed Error Details
from line 573
529573 
530574- `EmailDomainNotAllowedErrorDetails object`
531575 
532 The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
533 
534576 - `error_code: "email_domain_not_allowed"`
535577 
536578### Invite Already Exists Error Details
from line 579
537579 
538580- `InviteAlreadyExistsErrorDetails object`
539581 
540 A pending invite already exists for the email address. The message names the invite.
541 
542582 - `error_code: "invite_already_exists"`
543583 
544584### Organization Invite
from line 672
632672 - `id: string`
633673 
634674 ID of the Invite.
675 
676## Errors
677 
678### already_member
679 
680HTTP status 400
681 
682- `"already_member"`
683 
684 The email address already belongs to a user in the organization. The message names the user.
685 
686 - `details: AlreadyMemberErrorDetails`
687 
688 - `error_code: "already_member"`
689 
690### cannot_invite_emails_with_unverified_domains
691 
692HTTP status 400
693 
694- `"cannot_invite_emails_with_unverified_domains"`
695 
696 The email address's domain is not one of the verified domains of the organization's parent organization.
697 
698 - `details: CannotInviteEmailsWithUnverifiedDomainsErrorDetails`
699 
700 - `error_code: "cannot_invite_emails_with_unverified_domains"`
701 
702### email_domain_not_allowed
703 
704HTTP status 400
705 
706- `"email_domain_not_allowed"`
707 
708 The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
709 
710 - `details: EmailDomainNotAllowedErrorDetails`
711 
712 - `error_code: "email_domain_not_allowed"`
713 
714### invite_already_exists
715 
716HTTP status 400
717 
718- `"invite_already_exists"`
719 
720 A pending invite already exists for the email address. The message names the invite.
721 
722 - `details: InviteAlreadyExistsErrorDetails`
723 
724 - `error_code: "invite_already_exists"`
635725 

api/organization/invites/create Changed · +38 / -0 lines

## Errors

from line 125
125125 
126126 - `"pending"`
127127 
128## Errors
129 
130Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
131 
132Each code below is the value of `error.details.error_code` in the response body.
133 
134- `already_member` (HTTP status 400)
135 
136 The email address already belongs to a user in the organization. The message names the user.
137 
138- `cannot_invite_emails_with_unverified_domains` (HTTP status 400)
139 
140 The email address's domain is not one of the verified domains of the organization's parent organization.
141 
142- `email_domain_not_allowed` (HTTP status 400)
143 
144 The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
145 
146- `invite_already_exists` (HTTP status 400)
147 
148 A pending invite already exists for the email address. The message names the invite.
149 
150- `org_member_limit_exceeded` (HTTP status 400)
151 
152 The organization has reached the member limit that Anthropic set for it. Pending invites count toward the limit.
153 
154- `rbac_group_grants_owner_access` (HTTP status 400)
155 
156 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.
157 
158- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
159 
160 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.
161 
162- `sandbox_egress_restricted` (HTTP status 403)
163 
164 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.
165 
128166## Example
129167 
130168```bash

api/organization/invites/delete Changed · +10 / -0 lines

## Errors

from line 37
3737 
3838 ID of the Invite.
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- `sandbox_egress_restricted` (HTTP status 403)
47 
48 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.
49 
4050## Example
4151 
4252```bash

api/organization/rbac_groups Changed · +102 / -6 lines

### Errors ### Errors ### Errors ## Errors ### rbac_group_grants_owner_access ### rbac_group_owner_access_unconfirmed #### Errors #### Errors

from line 73
7373 
7474 format: date-time
7575 
76### Errors
77 
78Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
79 
80Each code below is the value of `error.details.error_code` in the response body.
81 
82- `sandbox_egress_restricted` (HTTP status 403)
83 
84 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.
85 
7686### Example
7787 
7888```bash
from line 387
377387 
378388 format: date-time
379389 
390### Errors
391 
392Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
393 
394Each code below is the value of `error.details.error_code` in the response body.
395 
396- `sandbox_egress_restricted` (HTTP status 403)
397 
398 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.
399 
380400### Example
381401 
382402```bash
from line 463
443463 
444464 ID of the RBAC Group.
445465 
466### Errors
467 
468Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
469 
470Each code below is the value of `error.details.error_code` in the response body.
471 
472- `rbac_group_grants_owner_access` (HTTP status 400)
473 
474 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.
475 
476- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
477 
478 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.
479 
480- `sandbox_egress_restricted` (HTTP status 403)
481 
482 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.
483 
446484### Example
447485 
448486```bash
from line 565
527565 
528566- `RBACGroupGrantsOwnerAccessErrorDetails object`
529567 
530 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.
531 
532568 - `error_code: "rbac_group_grants_owner_access"`
533569 
534570### RBAC Group Owner Access Unconfirmed Error Details
from line 571
535571 
536572- `RBACGroupOwnerAccessUnconfirmedErrorDetails object`
537573 
574 - `error_code: "rbac_group_owner_access_unconfirmed"`
575 
576## Errors
577 
578### rbac_group_grants_owner_access
579 
580HTTP status 400
581 
582- `"rbac_group_grants_owner_access"`
583 
584 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.
585 
586 - `details: RBACGroupGrantsOwnerAccessErrorDetails`
587 
588 - `error_code: "rbac_group_grants_owner_access"`
589 
590### rbac_group_owner_access_unconfirmed
591 
592HTTP status 400
593 
594- `"rbac_group_owner_access_unconfirmed"`
595 
538596 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.
539597 
540 - `error_code: "rbac_group_owner_access_unconfirmed"`
598 - `details: RBACGroupOwnerAccessUnconfirmedErrorDetails`
541599 
600 - `error_code: "rbac_group_owner_access_unconfirmed"`
601 
542602## RBAC Groups › Members
543603 
544604### List RBAC Group Members
from line 759
699759 
700760 ID of the User.
701761 
762#### Errors
763 
764Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
765 
766Each code below is the value of `error.details.error_code` in the response body.
767 
768- `rbac_group_grants_owner_access` (HTTP status 400)
769 
770 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.
771 
772- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
773 
774 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.
775 
776- `sandbox_egress_restricted` (HTTP status 403)
777 
778 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.
779 
702780#### Example
703781 
704782```bash
from line 844
766844 - `user_id: string`
767845 
768846 ID of the User.
847 
848#### Errors
849 
850Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
851 
852Each code below is the value of `error.details.error_code` in the response body.
853 
854- `rbac_group_grants_owner_access` (HTTP status 400)
855 
856 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.
857 
858- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
859 
860 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.
861 
862- `sandbox_egress_restricted` (HTTP status 403)
863 
864 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.
769865 
770866#### Example
771867 

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

## Errors

from line 71
7171 
7272 format: date-time
7373 
74## Errors
75 
76Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
77 
78Each code below is the value of `error.details.error_code` in the response body.
79 
80- `sandbox_egress_restricted` (HTTP status 403)
81 
82 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.
83 
7484## Example
7585 
7686```bash
Feedback