updateFeatureFlag
Modify an existing Unleash feature flag's properties including description, type, status, and data collection settings to control feature rollouts and behavior.
Instructions
Update an existing feature flag
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| featureData | Yes | ||
| featureId | Yes | ||
| projectId | Yes |
Input Schema (JSON Schema)
{
"properties": {
"featureData": {
"additionalProperties": false,
"properties": {
"archived": {
"type": "boolean"
},
"description": {
"type": "string"
},
"impressionData": {
"type": "boolean"
},
"stale": {
"type": "boolean"
},
"type": {
"enum": [
"experiment",
"kill-switch",
"release",
"operational",
"permission"
],
"type": "string"
}
},
"required": [
"description",
"type",
"stale",
"archived",
"impressionData"
],
"type": "object"
},
"featureId": {
"type": "string"
},
"projectId": {
"type": "string"
}
},
"required": [
"projectId",
"featureId",
"featureData"
],
"type": "object"
}