Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Update Environment changed

api/beta/environments/update

Nearest release: v2.1.268, published under 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+41added
Lines−32removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits8to this page, all time

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Update Environment
3url: https://platform.claude.com/docs/en/api/beta/environments/update
4---
5 
16# Update Environment
27 
38**POST** `/v1/environments/{environment_id}`
from line 21
1621 
1722 - `string`
1823 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2025 
2126 - `"message-batches-2024-09-24"`
2227 
from line 69
6469 
6570 - `"user-profiles-2026-08-18"`
6671 
72 - `"user-profiles-2026-09-04"`
73 
6774 - `"advisor-tool-2026-03-01"`
6875 
6976 - `"managed-agents-2026-04-01"`
from line 113
106113 
107114 - `"mid-conversation-system-clear-at-2026-08-21"`
108115 
116- `"anthropic-workspace-id": optional string`
117 
109118## Body parameters
110119 
111120- `config: optional BetaCloudConfigParams or BetaSelfHostedConfigParams or null`
from line 175
166175 
167176 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
168177 
178 - `type: optional "packages"`
179 
180 Package configuration type
181 
182 default: packages
183 
169184 - `apt: optional array of string or null`
170185 
171186 Ubuntu/Debian packages to install
from line 205
190205 
191206 Python packages to install
192207 
193 - `type: optional "packages"`
194 
195 Package configuration type
196 
197 default: packages
198 
199208 - `BetaSelfHostedConfigParams object`
200209 
201210 Request params for `self_hosted` environment configuration.
from line 243
234243 
235244 Unified Environment resource for both cloud and self-hosted environments.
236245 
246 - `type: "environment"`
247 
248 The type of object (always 'environment')
249 
250 default: environment
251 
237252 - `id: string`
238253 
239254 Environment identifier (e.g., 'env_...')
from line 265
250265 
251266 `cloud` environment configuration.
252267 
268 - `type: "cloud"`
269 
270 Environment type
271 
253272 - `networking: BetaUnrestrictedNetwork or BetaLimitedNetwork`
254273 
255274 Network configuration policy.
from line 285
266285 
267286 Limited network access.
268287 
288 - `type: "limited"`
289 
290 Network policy type
291 
269292 - `allow_mcp_servers: boolean`
270293 
271294 Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the `allowed_hosts` array.
from line 301
278301 
279302 Specifies domains the container can reach.
280303 
281 - `type: "limited"`
282 
283 Network policy type
284 
285304 - `packages: BetaPackages`
286305 
287306 Package manager configuration.
288307 
308 - `type: optional "packages"`
309 
310 Package configuration type
311 
312 default: packages
313 
289314 - `apt: array of string`
290315 
291316 Ubuntu/Debian packages to install
from line 335
310335 
311336 Python packages to install
312337 
313 - `type: optional "packages"`
314 
315 Package configuration type
316 
317 default: packages
318 
319 - `type: "cloud"`
320 
321 Environment type
322 
323338 - `BetaSelfHostedConfig object`
324339 
325340 Configuration for self-hosted environments.
from line 358
343358 - `name: string`
344359 
345360 Human-readable name for the environment
346 
347 - `type: "environment"`
348 
349 The type of object (always 'environment')
350 
351 default: environment
352361 
353362 - `updated_at: string`
354363