Skip to main content
PUT
Update an environment
Replaces an environment’s whole configuration. Renames are not supported. To change a few fields, use Patch. Returns the updated environment object.

Path parameters

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

Request body

The full environment, with the same fields as Create an environment. The id must equal the URL identifier. Omitted fields reset to their defaults, not their stored values. That includes vault_id: omitting it unbinds any attached vault.

Examples

Bind a vault while keeping the rest of the spec:
Response

Errors