provider Approvals (beta) PATCH /api/v2/approval-requests/projects/{projectKey}/settings
@utdk/launchdarkly /api/v2/approval-requests/projects/{projectKey}/settings
Update approval request settings
Perform a partial update to approval request settings
LD-API-Version header required
Version of the endpoint.
enum: beta
projectKey path required
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

patchapprovalrequestsettings
PATCH/api/v2/approval-requests/projects/{projectKey}/settings
Perform a partial update to approval request settings

Parameters

required

Input

Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval services other than LaunchDarkly.

Whether to skip approvals for pending changes

Allow applying the change as long as at least one person has approved

Allow someone who makes an approval request to apply their own change

required

Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five.

If approvals are required for this environment

Require approval only on flags with the provided tags. Otherwise all flags will require approval.

required

Arbitrary service-specific configuration

Which service to use for managing approvals

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

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.patchapprovalrequestsettings()