Update change request configuration

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.

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Path parameters

projectIdstringRequired
environmentstringRequired

Request

updateChangeRequestEnvironmentConfigSchema
changeRequestsEnabledbooleanRequired

true if change requests should be enabled, otherwise false.

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

Response

This response has no body.