v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Change Requests

Updates change request configuration for an environment in the project

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.

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

Path parameters

projectIdstring required
environmentstring required

Request body

changeRequestsEnabledboolean required

true if change requests should be enabled, otherwise false.

requiredApprovalsinteger

The number of approvals required before a change request can be applied in this environment.

Example request

{
  "requiredApprovals": 3
}

Response

This response has no body.