Skip to main content
PATCH

Behavior

Send null to clear an optional field, for example vault_id: null to unbind a vault. Fields with a default, like host, mode, settle_s, lazy, or headless, can’t be null: send the value you want instead. The merged result is validated like a full update.

Path parameters

string
required
The environment’s id, for example wide-browser or myorg/wide-browser.

Request body

Any subset of these environment fields: host, start_url, headless, session_id, mode, lazy, settle_s, vault_id, browser_profile_id, use_default_browser_profile, persist_browser_profile, network, and screenshot_max_width (desktop environments only). id and kind can’t change.

Response

200 with the updated environment object.

Errors