Create Environment changedapi/beta/environments/create
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+18added
Lines−0removed
From line
415
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 415, old and new numbered
/
from line 415
415415
416416 - `"account"`
417417
418## Errors
419
420Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
421
422Each code below is the value of `error.details.error_code` in the response body.
423
424- `claude_code_key_creator_not_member` (HTTP status 400)
425
426 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.
427
428- `organization_on_hold` (HTTP status 400)
429
430 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.
431
432- `environment_create_disabled` (HTTP status 403)
433
434 Anthropic has turned off creating environments for this organization. Existing environments still work.
435
418436## Example
419437
420438```bash
No line in this hunk matches that.