---
title: "Update environment"
method: PUT
path: "/environments/{environmentID}"
tags: ["api"]
---

# Update environment

`PUT /environments/{environmentID}`

Update environment with given request body

## Request body

- … — unresolved $ref; see the full OpenAPI document linked below

## Other responses

- `200` — unresolved $ref

## Changes

- **2024-05-21** `ab4a3143f69e` — 1 info
  - endpoint added
- **2022-11-17** `9ee6203c38fa` — 2 breaking, 3 info
  - added the new path request parameter `environmentId`
  - removed the success response with the status `200`
  - added the media type `application/json` to the request body
  - added the non-success response with the status `500`
  - …1 more

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/environments/:environmentID/put.md)

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubeshop/tracetest/revisions/fad7f202ff22/schema)
