---
title: "Changes to updateEnvironmentVariable"
method: PUT
path: "/v1/environments/{key}"
---

# Changes to updateEnvironmentVariable

`PUT /v1/environments/{key}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 5 revisions.

- **2026-09-11** `2d3bb87bb819`: 2 warning, 6 info
- **2026-09-08** `318bb4b16fc3`: 2 warning, 4 info
- **2026-09-02** `7e98377447ef`: 2 breaking, 4 warning, 9 info
- **2026-08-31** `1f302f02a271`: 3 breaking, 8 warning, 8 info

## Changes

- **2026-09-11** `2d3bb87bb819`: 2 warning, 6 info
  - added the new `List` enum value to the `type` response property for the response status `200`
  - added the new `List` enum value to the `type` response property for the response status `201`
  - added `#/components/schemas/ListValue` to the `value` request property `anyOf` list
  - added the new `List` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added the optional property `item_type` to the response with the `200` status
  - added the optional property `item_type` to the response with the `201` status
  - added `#/components/schemas/ListValue` to the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/ListValue` to the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `anyOf` list for the response status `201`
- **2026-09-08** `318bb4b16fc3`: 2 warning, 4 info
  - added the new `Link` enum value to the `type` response property for the response status `200`
  - added the new `Link` enum value to the `type` response property for the response status `201`
  - added `#/components/schemas/LinkValue` to the `value` request property `anyOf` list
  - added the new `Link` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added `#/components/schemas/LinkValue` to the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/LinkValue` to the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `anyOf` list for the response status `201`
- **2026-09-02** `7e98377447ef`: 2 breaking, 4 warning, 9 info
  - removed the enum value `Options` of the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - removed `#/components/schemas/OptionsValue, subschema #1, subschema #2, subschema #3` from the `value` request property `oneOf` list
  - added the new `JSON` enum value to the `type` response property for the response status `200`
  - added the new `JSON` enum value to the `type` response property for the response status `201`
  - added the new `Map` enum value to the `type` response property for the response status `200`
  - added the new `Map` enum value to the `type` response property for the response status `201`
  - added `#/components/schemas/MapValue, #/components/schemas/JsonValue, subschema #1, subschema #2, subschema #3` to the `value` request property `anyOf` list
  - added the new `JSON` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added the new `Map` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added `#/components/schemas/MapValue, #/components/schemas/JsonValue, subschema #1, subschema #2, subschema #3` to the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/MapValue, #/components/schemas/JsonValue, subschema #1, subschema #2, subschema #3` to the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `anyOf` list for the response status `201`
  - removed the `Options` enum value from the `type` response property for the response status `200`
  - removed the `Options` enum value from the `type` response property for the response status `201`
  - removed `#/components/schemas/OptionsValue, subschema #1, subschema #2, subschema #3` from the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `oneOf` list for the response status `200`
  - removed `#/components/schemas/OptionsValue, subschema #1, subschema #2, subschema #3` from the `value/allOf[#/components/schemas/EnvironmentValue]/` response property `oneOf` list for the response status `201`
- **2026-08-31** `1f302f02a271`: 3 breaking, 8 warning, 8 info
  - the `value` request property type changed from `string` to no type
  - the `value` response's property type changed from `string` to no type for status `200`
  - the `value` response's property type changed from `string` to no type for status `201`
  - added the new `Boolean` enum value to the `type` response property for the response status `200`
  - added the new `Boolean` enum value to the `type` response property for the response status `201`
  - added the new `Number` enum value to the `type` response property for the response status `200`
  - added the new `Number` enum value to the `type` response property for the response status `201`
  - added the new `Options` enum value to the `type` response property for the response status `200`
  - added the new `Options` enum value to the `type` response property for the response status `201`
  - added the new `Text` enum value to the `type` response property for the response status `200`
  - added the new `Text` enum value to the `type` response property for the response status `201`
  - added the new `Boolean` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added the new `Number` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added the new `Options` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added the new `Text` enum value to the request property `type/allOf[#/components/schemas/EnvironmentValueType]/`
  - added `#/components/schemas/OptionsValue, subschema #1, subschema #2, subschema #3` to the `value` request property `oneOf` list
  - added the non-success response with the status `409`
  - added `#/components/schemas/EnvironmentValue` to the `value` response property `allOf` list for the response status `200`
  - added `#/components/schemas/EnvironmentValue` to the `value` response property `allOf` list for the response status `201`

---

[Operation](https://skmtc.dev/epilot/apis/environments-api/docs/v1/environments/:key/put.md) - [API](https://skmtc.dev/epilot/apis/environments-api.md) - [Page](https://skmtc.dev/epilot/apis/environments-api/changes/v1/environments/:key/put)
