---
title: "Changes to Update a variable"
method: PATCH
path: "/v1/environment-variables/{variableKey}"
---

# Changes to Update a variable

`PATCH /v1/environment-variables/{variableKey}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 20 revisions.

- **2026-10-21** `a5b639d63138`: 1 warning

## Changes

- **2026-10-21** `a5b639d63138`: 1 warning
  - changed the pattern of the request property `key` from `/^[A-Za-z][A-Za-z0-9_]*$/` to `^[A-Za-z][A-Za-z0-9_]*$`

---

[Operation](https://skmtc.dev/novu/apis/novu-api/docs/v1/environment-variables/:variableKey/patch.md) - [API](https://skmtc.dev/novu/apis/novu-api.md) - [Page](https://skmtc.dev/novu/apis/novu-api/changes/v1/environment-variables/:variableKey/patch)
