Toggle flag in environment
toggle_flagEnable or disable a feature flag in one environment. Changes affect live evaluation immediately, so verify the target environment before applying the switch.
Instructions
Enable or disable a flag in ONE environment. Affects live evaluation immediately — double-check the environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | Flag key or id | |
| enabled | Yes | true to turn the flag on in this environment, false to turn it off | |
| project | Yes | Project key | |
| environment | Yes | Environment key, e.g. production |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | ||
| enabled | Yes | ||
| project | Yes | ||
| environment | Yes |