Update approval request settings

Perform a partial update to approval request settings

Path parameters

projectKeystringRequired

Headers

AuthorizationstringRequired
LD-API-Version"beta"Required
Version of the endpoint.

Request

This endpoint expects an object.
environmentKeystringRequired
resourceKindstringRequired
autoApplyApprovedChangesbooleanOptional
Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval services other than LaunchDarkly.
bypassApprovalsForPendingChangesbooleanOptional
Whether to skip approvals for pending changes
canApplyDeclinedChangesbooleanOptional
Allow applying the change as long as at least one person has approved
canReviewOwnRequestbooleanOptional
Allow someone who makes an approval request to apply their own change
minNumApprovalsintegerOptional
Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five.
requiredbooleanOptional
If approvals are required for this environment
requiredApprovalTagslist of stringsOptional
Require approval only on flags with the provided tags. Otherwise all flags will require approval.
serviceConfigmap from strings to anyOptional

Arbitrary service-specific configuration

serviceKindstringOptional
Which service to use for managing approvals
serviceKindConfigurationIdstringOptional

Optional integration configuration ID of a custom approval integration. This is an Enterprise-only feature.

Response

Successful response
environmentsmap from strings to objects or null

Environment-specific overrides.

Errors