Environment Variables
Update a variable
Changed onUpdates an existing environment variable. Providing values merges them into the existing per-environment values by _environmentId; envs not present in the request keep their stored value. Submitting the masked secret placeholder (the value returned by read endpoints for secret variables) as a real value is rejected.
patch/v1/environment-variables/{variableKey}
Request
- Base URLhttps://api.novu.co
- AuthAPI key in header Authorization
Path parameters
variableKeystring required
Example:BASE_URL
The unique key of the environment variable (e.g. BASE_URL)
Headers
idempotency-keystring
A header for idempotency purposes
Request body
Response
OK
Changes
- warning
changed the pattern of the request property
from/^[A-Za-z][A-Za-z0-9_]*$/to^[A-Za-z][A-Za-z0-9_]*$
- warning