updateFeatureFlag
Modify an existing feature flag's properties including name, description, tags, enabled status, and archived state while maintaining an audit trail with required comments.
Instructions
Update an existing feature flag
Input Schema
Name | Required | Description | Default |
---|---|---|---|
archived | No | Archive or unarchive the feature flag | |
comment | Yes | Comment for the update (required for audit trail) | |
description | No | New description for the feature flag | |
enabled | No | Enable or disable the feature flag | |
environmentId | No | Environment ID (uses default if not provided) | |
id | Yes | The ID of the feature flag to update | |
name | No | New name for the feature flag | |
tags | No | New tags for the feature flag |
Input Schema (JSON Schema)
{
"properties": {
"archived": {
"description": "Archive or unarchive the feature flag",
"type": "boolean"
},
"comment": {
"description": "Comment for the update (required for audit trail)",
"type": "string"
},
"description": {
"description": "New description for the feature flag",
"type": "string"
},
"enabled": {
"description": "Enable or disable the feature flag",
"type": "boolean"
},
"environmentId": {
"description": "Environment ID (uses default if not provided)",
"type": "string"
},
"id": {
"description": "The ID of the feature flag to update",
"type": "string"
},
"name": {
"description": "New name for the feature flag",
"type": "string"
},
"tags": {
"description": "New tags for the feature flag",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"comment"
],
"type": "object"
}