---
title: "Changes to Add or update environment variable"
method: PUT
path: "/env-groups/{envGroupId}/env-vars/{envVarKey}"
---

# Changes to Add or update environment variable

`PUT /env-groups/{envGroupId}/env-vars/{envVarKey}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `6ac5d3d47362`: 6 info

## Changes

- **2026-11-03** `6ac5d3d47362`: 6 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `429` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `code` to the response with the `503` status

---

[Operation](https://skmtc.dev/render/apis/render-public-api/docs/env-groups/:envGroupId/env-vars/:envVarKey/put.md) - [API](https://skmtc.dev/render/apis/render-public-api.md) - [Page](https://skmtc.dev/render/apis/render-public-api/changes/env-groups/:envGroupId/env-vars/:envVarKey/put)
