Update or add the last percentage-only targeting rule
up
configcat flag-v2 targeting percentage update [options]
configcat flag-v2 targeting % update -i <flag-id> -e <environment-id> -po 30:true 70:false
| Option | Description |
|---|---|
--flag-id, -i, --setting-id |
ID of the Feature Flag or Setting |
--environment-id, -e |
ID of the Environment where the update must be applied |
-po, --percentage-options |
Format: <percentage>:<value>, e.g., 30:true 70:false |
--reason, -r |
The reason note for the Audit Log if the Product's 'Config changes require a reason' preference is turned on |
--verbose, -v, /v |
Print detailed execution information |
--non-interactive, -ni |
Turn off progress rendering and interactive features |
-h, /h, --help, -?, /? |
Show help and usage information |
| Command | Description |
|---|---|
| configcat flag-v2 targeting percentage | Manage percentage-only rules |