Skip to main content
patch/v1/environment-variables/{variableKey}
Request example
Response
patch/v1/environment-variables/{variableKey}

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Path parameters

variableKeystringrequired#
The unique key of the environment variable (e.g. BASE_URL)

Example:"BASE_URL"

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
keystring#
Unique key for the variable. Must start with a letter and contain only letters, digits, and underscores.

Length: max 256Pattern: ^[A-Za-z][A-Za-z0-9_]*$

typeenum<string>#
The type of the variable
Options:string
isSecretboolean#
valuesobject[]#

Responses

application/json
OK
_idstringrequired#
_organizationIdstringrequired#
keystringrequired#
typeenum<string>required#
Options:string
isSecretbooleanrequired#
valuesobject[]required#
createdAtstringrequired#
updatedAtstringrequired#