Skip to main content
PUT
Update environment

Authorizations

Authorization
string
header
required

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

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