Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 2.11 KB

File metadata and controls

35 lines (23 loc) · 2.11 KB

LaunchDarklyApi.FeatureFlagBody

Properties

Name Type Description Notes
name String A human-friendly name for the feature flag
key String A unique key used to reference the flag in your code
description String Description of the feature flag. Defaults to an empty string. [optional]
includeInSnippet Boolean Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK. Defaults to <code>false</code>. [optional]
clientSideAvailability ClientSideAvailabilityPost [optional]
variations [Variation] An array of possible variations for the flag. The variation values must be unique. If omitted, two boolean variations of <code>true</code> and <code>false</code> will be used. [optional]
temporary Boolean Whether the flag is a temporary flag. Defaults to <code>true</code>. [optional]
tags [String] Tags for the feature flag. Defaults to an empty array. [optional]
customProperties {String: CustomProperty} [optional]
defaults Defaults [optional]
purpose String Purpose of the flag [optional]
migrationSettings MigrationSettingsPost [optional]
maintainerId String The ID of the member who maintains this feature flag [optional]
maintainerTeamKey String The key of the team that maintains this feature flag [optional]
initialPrerequisites [FlagPrerequisitePost] Initial set of prerequisite flags for all environments [optional]
isFlagOn Boolean Whether to automatically turn the flag on across all environments at creation. Defaults to <code>false</code>. [optional]

Enum: PurposeEnum

  • migration (value: "migration")

  • holdout (value: "holdout")