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 change · api

External Keys changedapi/beta/organization/external_keys

Nearest release: v2.1.328, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+52added
Lines−0removed
From line 195 where the diff opens
First seen 26 Aug 2026 this site's first read of the page
Recorded edits13to this page, all time

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

The whole hunk

from line 195, old and new numbered
/
lines
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 931
889931 - `"failure"`
890932 
891933 - `"success"`
934 
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.
892944 
893945### Example
894946 
Feedback