Skip to main content
PATCH
Patch an environment
Partial update: only the fields you send change, everything else is preserved. Send a field as null to clear it, for example vault_id: null to unbind a vault. The merged result is validated like a full update, and id and kind are not patchable. This makes binding a vault to an existing environment a one-liner, with no need to resend the full spec. Returns the updated Environment object.

Path parameters

id
string
required
The environment’s id (e.g. wide-browser or myorg/wide-browser). Slash-containing identifiers are supported.

Request body

Any subset of the Browser spec’s fields except id and kind: start_url, headless, mode, vault_id, browser_profile_id, use_default_browser_profile, persist_browser_profile, network.

Examples

Bind a vault, leaving the rest of the spec untouched:

Errors