For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Perform a partial update to approval request settings
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/approval-requests/projects/{projectKey}/settings \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'LD-API-Version: <ld-api-version>' \
--data '
{
"resourceKind": "resourceKind",
"serviceKind": "launchdarkly",
"canReviewOwnRequest": false,
"requiredApprovalTags": [
"require-approval"
],
"serviceConfig": {},
"serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258",
"bypassApprovalsForPendingChanges": false,
"canApplyDeclinedChanges": true,
"minNumApprovals": 1,
"autoApplyApprovedChanges": true,
"required": true,
"environmentKey": "environmentKey"
}
'{}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Version of the endpoint.
beta Approval request settings to update
Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval services other than LaunchDarkly.
true
Whether to skip approvals for pending changes
false
Allow applying the change as long as at least one person has approved
true
Allow someone who makes an approval request to apply their own change
false
Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five.
1
If approvals are required for this environment
true
Require approval only on flags with the provided tags. Otherwise all flags will require approval.
["require-approval"]Arbitrary service-specific configuration
{}Which service to use for managing approvals
"launchdarkly"
Optional integration configuration ID of a custom approval integration. This is an Enterprise-only feature.
"1ef45a85-218f-4428-a8b2-a97e5f56c258"
Successful response
Show child attributes
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/approval-requests/projects/{projectKey}/settings \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'LD-API-Version: <ld-api-version>' \
--data '
{
"resourceKind": "resourceKind",
"serviceKind": "launchdarkly",
"canReviewOwnRequest": false,
"requiredApprovalTags": [
"require-approval"
],
"serviceConfig": {},
"serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258",
"bypassApprovalsForPendingChanges": false,
"canApplyDeclinedChanges": true,
"minNumApprovals": 1,
"autoApplyApprovedChanges": true,
"required": true,
"environmentKey": "environmentKey"
}
'{}