---
title: "Changes to Set a flag's value in one environment, and/or flip its kill switch."
method: PUT
path: "/projects/{project_id}/flags/{key}/environments/{environment_id}"
---

# Changes to Set a flag's value in one environment, and/or flip its kill switch.

`PUT /projects/{project_id}/flags/{key}/environments/{environment_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 383 revisions.

- **2026-11-20** `68c970dc603c`: 3 info
- **2026-08-04** `c647b6ab1d2c`: 1 info

## Changes

- **2026-11-20** `68c970dc603c`: 3 info
  - added the required property `rules` to the response with the `200` status
  - added the required property `rules_valid` to the response with the `200` status
  - added the required property `updated_at` to the response with the `200` status
- **2026-08-04** `c647b6ab1d2c`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/projects/:project_id/flags/:key/environments/:environment_id/put.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/flags/:key/environments/:environment_id/put)
