ApprovalSettings

October 20, 2025 ยท View on GitHub

Example Usage

import { ApprovalSettings } from "@launchdarkly/mcp-server/models/components";

let value: ApprovalSettings = {
  required: true,
  bypassApprovalsForPendingChanges: false,
  minNumApprovals: 1,
  canReviewOwnRequest: false,
  canApplyDeclinedChanges: true,
  autoApplyApprovedChanges: true,
  serviceKind: "launchdarkly",
  serviceConfig: {},
  requiredApprovalTags: [
    "require-approval",
  ],
  serviceKindConfigurationId: "1ef45a85-218f-4428-a8b2-a97e5f56c258",
};

Fields

FieldTypeRequiredDescriptionExample
requiredboolean:heavy_check_mark:If approvals are required for this environmenttrue
bypassApprovalsForPendingChangesboolean:heavy_check_mark:Whether to skip approvals for pending changesfalse
minNumApprovalsnumber:heavy_check_mark:Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five.1
canReviewOwnRequestboolean:heavy_check_mark:Allow someone who makes an approval request to apply their own changefalse
canApplyDeclinedChangesboolean:heavy_check_mark:Allow applying the change as long as at least one person has approvedtrue
autoApplyApprovedChangesboolean:heavy_minus_sign:Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval services other than LaunchDarkly.true
serviceKindstring:heavy_check_mark:Which service to use for managing approvalslaunchdarkly
serviceConfigRecord<string, any>:heavy_check_mark:N/A{}
requiredApprovalTagsstring[]:heavy_check_mark:Require approval only on flags with the provided tags. Otherwise all flags will require approval.[
"require-approval"
]
serviceKindConfigurationIdstring:heavy_minus_sign:Optional field for integration configuration ID of a custom approval integration. This is an Enterprise-only feature.1ef45a85-218f-4428-a8b2-a97e5f56c258
resourceKindstring:heavy_minus_sign:The kind of resource for which the approval settings apply, for example, flag or segment