Skip to main content
PUT
Update environment

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Headers

X-DevHelm-Client
string

Calling surface and version, e.g. cli/1.4.0 or sdk-js/2.0.0

Path Parameters

slug
string
required

Body

application/json
name
string | null

New environment name; null preserves current

Maximum string length: 100
variables
object | null

Replace all variables; null preserves current

isDefault
boolean | null

Whether this is the default environment; null preserves current

Response

OK

data
object
required

Environment with variable substitutions for monitor configs