Upsert flag
upsert_flagCreate or replace a feature flag. The body replaces the whole definition, so send the complete set of variants, rules and per-environment settings, not a patch. Requires the write scope and flags.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application id, or orgSlug/appSlug as returned by list_apps | |
| key | Yes | Lowercase letters, digits, - and _ | |
| kind | No | ||
| name | Yes | ||
| rules | No | ||
| variants | No | ||
| description | No | ||
| environments | No | { production: { enabled: true, rolloutPercent: 25 }, … } |