---
title: "Changes to Update a variable"
method: PUT
path: "/api/variables/{id}"
---

# Changes to Update a variable

`PUT /api/variables/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 37 revisions.

- **2026-10-28** `4531981d91c6`: 2 info
- **2026-10-19** `bfc5fb32bad1`: 2 breaking, 2 warning
- **2026-09-15** `27d0aac76359`: 1 info
- **2026-04-08** `81782deccf0e`: 6 info
- **2026-02-08** `78bbac89339b`: 6 warning

## Changes

- **2026-10-28** `4531981d91c6`: 2 info
  - added the optional property `createdByImage` to the response with the `200` status
  - added the optional property `createdByName` to the response with the `200` status
- **2026-10-19** `bfc5fb32bad1`: 2 breaking, 2 warning
  - the `key` request property's minLength was increased from `0` to `4`
  - added the pattern `^[A-Z][A-Z0-9_]*$` to the request property `key`
  - the `key` request property's maxLength was set to `20`
  - the `value` request property's maxLength was set to `10000`
- **2026-09-15** `27d0aac76359`: 1 info
  - the `key` response's property pattern `^[A-Z][A-Z0-9_]*$` was added for the status `200`
- **2026-04-08** `81782deccf0e`: 6 info
  - added the optional property `fileName` to the response with the `200` status
  - added the optional property `fileSize` to the response with the `200` status
  - added the optional property `mimeType` to the response with the `200` status
  - added the optional property `projectId` to the response with the `200` status
  - added the optional property `type` to the response with the `200` status
  - added the optional property `updatedAt` to the response with the `200` status
- **2026-02-08** `78bbac89339b`: 6 warning
  - removed the optional property `fileName` from the response with the `200` status
  - removed the optional property `fileSize` from the response with the `200` status
  - removed the optional property `mimeType` from the response with the `200` status
  - removed the optional property `projectId` from the response with the `200` status
  - removed the optional property `type` from the response with the `200` status
  - removed the optional property `updatedAt` from the response with the `200` status

---

[Operation](https://skmtc.dev/supercheck-io/apis/supercheck-api/docs/api/variables/:id/put.md) - [API](https://skmtc.dev/supercheck-io/apis/supercheck-api.md) - [Page](https://skmtc.dev/supercheck-io/apis/supercheck-api/changes/api/variables/:id/put)
