Update External Key changedapi/organization/external_keys/update
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+14added
Lines−0removed
From line
201
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits9to this page, all time
## Errors
The whole hunk
from line 201, old and new numbered
/
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
No line in this hunk matches that.