---
title: "Changes to Update an environment variable"
method: PUT
path: "/projects/{project_id}/env-vars/{var_id}"
---

# Changes to Update an environment variable

`PUT /projects/{project_id}/env-vars/{var_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 383 revisions.

- **2026-11-26** `e1864d950604`: 2 breaking
- **2026-11-25** `480a86944327`: 1 info
- **2026-11-01** `d73a147552a5`: 1 info
- **2026-05-30** `b72341d12f63`: 2 breaking, 4 info

## Changes

- **2026-11-26** `e1864d950604`: 2 breaking
  - the `created_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
  - the `updated_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
- **2026-11-25** `480a86944327`: 1 info
  - the endpoint scheme security `bearer_auth` was added to the API
- **2026-11-01** `d73a147552a5`: 1 info
  - added the optional property `secret_suggestion` to the response with the `200` status
- **2026-05-30** `b72341d12f63`: 2 breaking, 4 info
  - the response property `value` became nullable for the status `200`
  - the response property `value` became optional for the status `200`
  - added the new optional request property `is_secret`
  - the request property `value` became nullable
  - the request property `value` became optional
  - added the required property `is_secret` to the response with the `200` status

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/projects/:project_id/env-vars/:var_id/put.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/env-vars/:var_id/put)
