Delete Environment changedapi/beta/environments/delete
Nearest release: v2.1.245, published an hour after 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+10added
Lines−15removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
# Delete Environment ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Delete Environment ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Delete Environment
3url: https://platform.claude.com/docs/en/api/beta/environments/delete
4---
1# Delete Environment
52
6## Delete Environment
3**DELETE** `/v1/environments/{environment_id}`
74
8**delete** `/v1/environments/{environment_id}`
9
105Delete an environment by ID. Returns a confirmation of the deletion.
116
12### Path Parameters
7## Path parameters
138
149- `environment_id: string`
1510
16### Header Parameters
11## Headers
1712
1813- `"anthropic-beta": optional array of AnthropicBeta`
1914
from line 86
9186
9287 - `"mid-conversation-tool-changes-2026-07-01"`
9388
94### Returns
89## Returns
9590
96- `BetaEnvironmentDeleteResponse object { id, type }`
91- `BetaEnvironmentDeleteResponse object`
9792
9893 Response after deleting an environment.
9994
from line 100
105100
106101 The type of response
107102
108 - `"environment_deleted"`
103 default: environment_deleted
109104
110### Example
105## Example
111106
112```http
107```bash
113108curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID \
114109 -X DELETE \
115110 -H 'anthropic-version: 2023-06-01' \
from line 112
117112 -H "X-Api-Key: $ANTHROPIC_API_KEY"
118113```
119114
120#### Response
115### Response (200)
121116
122117```json
123118{
No line in this hunk matches that.