Environment Variables

Update a variable

Updates 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 URL: https://api.notifly.io
  • URL: https://api.notifly.io/v1/environment-variables/{variableKey}
  • Auth: API key in header Authorization

Path parameters

variableKeystring required

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

Request body

keystring

Unique key for the variable. Must start with a letter and contain only letters, digits, and underscores.

type'string'

The type of the variable

isSecretboolean

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.