---
title: "Update Environment"
method: PUT
path: "/v1/environments/{environmentId}"
tags: ["Environments"]
---

# Update Environment

`PUT /v1/environments/{environmentId}`

This endpoint updates an Environment identified by the `environmentId` parameter.

## Path parameters

- `environmentId` string, uuid, required

## Request body

- UpdateEnvironmentModel
  - `name` string, nullable — The name of the Environment.
  - `color` string, nullable — The color of the Environment. RGB or HTML color codes are allowed.
  - `description` string, nullable — The description of the Environment.
  - `order` integer, nullable — The order of the Environment represented on the ConfigCat Dashboard. Determined from an ascending sequence of integers.

## Response `200`

- EnvironmentModel — Details of the Environment.
  - `product` ProductModel, required — Details of the Product.
    - `organization` OrganizationModel, required — Details of the Organization.
      - `organizationId` string, uuid, required — Identifier of the Organization.
      - `name` string, required — Name of the Organization.
    - `productId` string, uuid, required — Identifier of the Product.
    - `name` string, required — Name of the Product.
    - `description` string, nullable, required — Description of the Product.
    - `order` integer, required — The order of the Product represented on the ConfigCat Dashboard. Determined from an ascending sequence of integers.
    - `reasonRequired` boolean, required — Determines whether a mandatory reason must be given every time when the Feature Flags or Settings within a Product are saved.
    - `approveRequired` boolean, required — Determines whether changes must be approved before they are applied within a Product.
  - `environmentId` string, uuid, required — Identifier of the Environment.
  - `name` string, required — Name of the Environment.
  - `color` string, nullable, required — The configured color of the Environment.
  - `description` string, nullable, required — Description of the Environment.
  - `order` integer, required — The order of the Environment represented on the ConfigCat Dashboard.
  - `reasonRequired` boolean, required — Determines whether a mandatory reason must be given every time when the Feature Flags or Settings in the given Environment are saved.
  - `approveRequired` boolean, required — Determines whether changes must be approved before they are applied in the given Environment.

## Other responses

- `400` — Bad request.
- `404` — Not found.
- `429` — Too many requests. In case of the request rate exceeds the rate limits.

---

[API](https://skmtc.net/configcat/apis/configcat-public-management-api.md) · [All operations](https://skmtc.net/configcat/apis/configcat-public-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/configcat/configcat-public-management-api/revisions/6b4d53bc1455/schema)
