Update an environment variable

Updates an environment variable. Uses the "key" field as the ID for updating. Only updates value, locked, and secret properties. Once a value is set to secret, it cannot be unset.

Log in to see full request history
Path Params
string
required
Body Params
string

The key of the environment variable (this value cannot be changed).

string
required

The value of the environment variable.

boolean
Defaults to false

Used only in the UI to hide the value like a password.

boolean
Defaults to false

Set an environment variable as secret. Once set, its value cannot be unlocked.

Headers
string

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json