createFeatureFlag
Create a new feature flag in Unleash to control feature releases, experiments, kill switches, or operational toggles within a specified project.
Instructions
Create a new feature flag
Input Schema
Name | Required | Description | Default |
---|---|---|---|
featureData | Yes | ||
projectId | Yes |
Input Schema (JSON Schema)
{
"properties": {
"featureData": {
"additionalProperties": false,
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"impressionData": {
"type": [
"boolean",
"null"
]
},
"name": {
"type": "string"
},
"type": {
"enum": [
"experiment",
"kill-switch",
"release",
"operational",
"permission"
],
"type": "string"
}
},
"required": [
"name",
"description",
"impressionData",
"type"
],
"type": "object"
},
"projectId": {
"type": "string"
}
},
"required": [
"projectId",
"featureData"
],
"type": "object"
}