---
title: "Changes to Update an environment"
method: PATCH
path: "/environments/{environment_id}"
---

# Changes to Update an environment

`PATCH /environments/{environment_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-03** `e45165e7e223`: 1 breaking, 2 warning, 9 info

## Changes

- **2026-11-03** `e45165e7e223`: 1 breaking, 2 warning, 9 info
  - response property `values/additionalProperties/value` list-of-types was widened by adding types `array and object` to media type `application/json` of response `200`
  - added the new `dict` enum value to the `values/additionalProperties/type` response property for the response status `200`
  - added the new `list` enum value to the `values/additionalProperties/type` response property for the response status `200`
  - the endpoint scheme security `ApiKey` was added to the API
  - the endpoint scheme security `OAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was removed from the API
  - added the new optional `header` request parameter `X-Orchestra-Account-Id`
  - added the new `dict` enum value to the request property `values/additionalProperties/type`
  - added the new `list` enum value to the request property `values/additionalProperties/type`
  - request property `values/additionalProperties/value` list-of-types was widened by adding types `array and object` to media type `application/json`
  - added the optional property `allowUnpublishedPipelines` to the response with the `200` status
  - added the optional property `allowedBranches` to the response with the `200` status

---

[Operation](https://skmtc.dev/getorchestra/apis/orchestra-api/docs/environments/:environment_id/patch.md) - [API](https://skmtc.dev/getorchestra/apis/orchestra-api.md) - [Page](https://skmtc.dev/getorchestra/apis/orchestra-api/changes/environments/:environment_id/patch)
