---
title: "Update environment by id"
method: PATCH
path: "/v1/private/environments/{id}"
tags: ["Environments"]
---

# Update environment by id

`PATCH /v1/private/environments/{id}`

Update environment by id

## Path parameters

- `id` string, uuid, required

## Request body

- EnvironmentUpdate
  - `name` string
  - `description` string
  - `color` string
  - `position` integer

## Response `204`

No Content

## Other responses

- `404` — Not found
- `409` — Conflict

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
