Delete Environment
Delete an environment by ID. Returns a confirmation of the deletion.
Path parameters
Headers
Optional header to specify the beta version(s) you want to use.
To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.
Optional header to specify the beta version(s) you want to use.
To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.
The version of the Claude API you want to use.
Read more about versioning and our version history here.
The version of the Claude API you want to use.
Read more about versioning and our version history here.
Response
Successful Response
Example response
{
"type": "environment_deleted",
"id": "env_011CZkZ9X2dpNyB7HsEFoRfW"
}Changes
Changed in 3 of the 68 revisions of this API.121
- ▲
the
response property const valueenvironment_deletedwas removed for the statusresponse-property-const-removed
- ●
added the new
environment_deletedenum value to theresponse property for the response statusresponse-property-enum-value-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
deleted the
cookierequest parametersessionKeyrequest-parameter-removed
- ●
- ○
endpoint added
endpoint-added
- ○