v2
latestOpenAPI 3.0.02026-07-261859071.2 MBEnvironment variables
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.
put/v1/variables/{key}
Path parameters
keystring required
Headers
x-checkly-accountstring
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Request body
Example request
{
"key": "API_KEY",
"value": "bAxD7biGCZL6K60Q"
}Response
Successful
Example response
{
"key": "API_KEY"
}