---
title: "Changes to Upsert deployment variable"
method: PUT
path: "/v1/workspaces/{workspaceId}/deployment-variables/{variableId}"
---

# Changes to Upsert deployment variable

`PUT /v1/workspaces/{workspaceId}/deployment-variables/{variableId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 70 revisions.

- **2026-04-23** `4d1982997771`: 1 warning
- **2026-02-19** `4107c747f3f1`: 1 info

## Changes

- **2026-04-23** `4d1982997771`: 1 warning
  - removed the request property `defaultValue`
- **2026-02-19** `4107c747f3f1`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api/docs/v1/workspaces/:workspaceId/deployment-variables/:variableId/put.md) - [API](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api.md) - [Page](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api/changes/v1/workspaces/:workspaceId/deployment-variables/:variableId/put)
