Patch an environment
Environments
Patch an environment
Change individual fields of an environment without resending the full spec.
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
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 exceptid and kind: start_url, headless, mode, vault_id, browser_profile_id, use_default_browser_profile, persist_browser_profile, network.