# Update a variable (/api-reference/environment-variables/update-a-variable)

Updates an existing environment variable. Providing values replaces all existing per-environment values.

{/* This file was generated by scripts\/generate-docs.mjs. Do not edit this file directly. Regenerate with pnpm run build:docs. */}

<APIPage document={"content/openapi/novu-spec.json"} operations={[{"path":"/v1/environment-variables/{variableKey}","method":"patch"}]} webhooks={[]} hasHead={false} />
