---
title: "Updates change request configuration for an environment in the project"
method: PUT
path: "/api/admin/projects/{projectId}/environments/{environment}/change-requests/config"
tags: ["Change Requests"]
---

# Updates change request configuration for an environment in the project

`PUT /api/admin/projects/{projectId}/environments/{environment}/change-requests/config`

**Enterprise feature**

This endpoint will change the change request configuration for a given environment, set it to either on/off and optionally configure the number of approvals needed. The minimum number of approvals is 1 and the maximum number is 10. If you provide a number higher than 10 or lower than 1, Unleash will clamp it to the allowed range.

## Path parameters

- `projectId` string, required
- `environment` string, required

## Request body

- UpdateChangeRequestEnvironmentConfigSchema — Data used to update change request in an environment
  - `changeRequestsEnabled` boolean, required — `true` if change requests should be enabled, otherwise `false`.
  - `requiredApprovals` integer — The number of approvals required before a change request can be applied in this environment.

## Response `200`

This response has no body.

---

[API](https://skmtc.dev/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.dev/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
