---
title: "Changes to Set environment variables"
method: POST
path: "/v2/environments.setEnvironmentVariables"
---

# Changes to Set environment variables

`POST /v2/environments.setEnvironmentVariables`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 146 revisions.

- **2026-07-17** `f06fb69f81ad`: 1 info
- **2026-07-14** `43ad1ce9a152`: 2 info
- **2026-07-07** `b00c5890fc01`: 1 info

## Changes

- **2026-07-17** `f06fb69f81ad`: 1 info
  - the `variables/items/value` request property's maxLength was increased from `4096` to `16384`
- **2026-07-14** `43ad1ce9a152`: 2 info
  - the endpoint scheme security `bearer` was added to the API
  - the endpoint scheme security `rootKey` was removed from the API
- **2026-07-07** `b00c5890fc01`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/unkeyed/apis/unkey-api/docs/v2/environments.setEnvironmentVariables/post.md) - [API](https://skmtc.dev/unkeyed/apis/unkey-api.md) - [Page](https://skmtc.dev/unkeyed/apis/unkey-api/changes/v2/environments.setEnvironmentVariables/post)
