createFlag
Add a feature flag to an Unleash project, enabling dynamic toggling of features for controlled rollouts, experiments, or operational adjustments.
Instructions
Create a new feature flag in an Unleash project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | ||
impressionData | No | ||
name | Yes | ||
project | Yes | ||
type | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"impressionData": {
"type": "boolean"
},
"name": {
"maxLength": 100,
"minLength": 1,
"pattern": "^[a-z0-9-_.]+$",
"type": "string"
},
"project": {
"type": "string"
},
"type": {
"enum": [
"release",
"experiment",
"operational",
"permission",
"kill-switch"
],
"type": "string"
}
},
"required": [
"name",
"project"
],
"type": "object"
}