---
title: "Changes to Upsert environment"
method: PUT
path: "/v1/workspaces/{workspaceId}/environments/{environmentId}"
---

# Changes to Upsert environment

`PUT /v1/workspaces/{workspaceId}/environments/{environmentId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 70 revisions.

- **2026-04-23** `0cff1d88d064`: 1 info
- **2026-03-11** `ac4f338f40a7`: 2 breaking
- **2026-02-17** `7bc613d3c686`: 1 warning
- **2026-02-14** `5663f149a27e`: 1 breaking, 1 warning

## Changes

- **2026-04-23** `0cff1d88d064`: 1 info
  - added the non-success response with the status `409`
- **2026-03-11** `ac4f338f40a7`: 2 breaking
  - removed `#/components/schemas/JsonSelector, #/components/schemas/CelSelector` from the `resourceSelector` request property `oneOf` list
  - the `resourceSelector` request property type changed from no type to `string`
- **2026-02-17** `7bc613d3c686`: 1 warning
  - removed the request property `systemIds`
- **2026-02-14** `5663f149a27e`: 1 breaking, 1 warning
  - added the new required request property `systemIds`
  - removed the request property `systemId`

---

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