PatchFeatureFlagRequest

February 28, 2026 ยท View on GitHub

Example Usage

import { PatchFeatureFlagRequest } from "@launchdarkly/mcp-server/models/operations";

let value: PatchFeatureFlagRequest = {
  projectKey: "<value>",
  featureFlagKey: "<value>",
  patchWithComment: {
    patch: [
      {
        op: "replace",
        path: "/exampleField",
        value: "new example value",
      },
    ],
  },
};

Fields

FieldTypeRequiredDescription
projectKeystring:heavy_check_mark:The project key
featureFlagKeystring:heavy_check_mark:The feature flag key. The key identifies the flag in your code.
ignoreConflictsboolean:heavy_minus_sign:If true, the patch will be applied even if it causes a pending scheduled change or approval request to fail.
dryRunboolean:heavy_minus_sign:If true, the patch will be validated but not persisted. Returns a preview of the flag after the patch is applied.
patchWithCommentcomponents.PatchWithComment:heavy_check_mark:N/A