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

Update Environment changedapi/beta/environments/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+26added
Lines−0removed
From line 419 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits26to this page, all time

## Errors

The whole hunk

from line 419, old and new numbered
/
lines
from line 419
419419 
420420 - `"account"`
421421 
422## Errors
423 
424Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
425 
426Each code below is the value of `error.details.error_code` in the response body.
427 
428- `claude_code_key_creator_not_member` (HTTP status 400)
429 
430 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
431 
432- `environment_archived` (HTTP status 400)
433 
434 The environment is archived, so it cannot be updated.
435 
436- `invalid_config_type_change` (HTTP status 400)
437 
438 `config.type` differs from the environment's stored type, which cannot change after creation.
439 
440- `organization_on_hold` (HTTP status 400)
441 
442 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
443 
444- `environment_update_disabled` (HTTP status 403)
445 
446 Anthropic has turned off updating environments for this organization. Existing environments still work as they are.
447 
422448## Example
423449 
424450```bash
Feedback