Update targeting rule
up
configcat flag targeting update [options]
configcat flag targeting update -i <flag-id> -e <environment-id> -p 1 -a Email -c contains -t @example.com -f true
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 |
--position , -p |
The position of the updating targeting rule |
--attribute , -a |
The user attribute to compare |
--comparator , -c |
The comparison operator Possible values: contains , doesNotContain , isNotOneOf , isOneOf , numberDoesNotEqual , numberEquals , numberGreater , numberGreaterOrEquals , numberLess , numberLessOrEquals , semVerGreater , semVerGreaterOrEquals , semVerIsNotOneOf , semVerIsOneOf , semVerLess , semVerLessOrEquals , sensitiveIsNotOneOf , sensitiveIsOneOf |
--compare-to , -t |
The value to compare against |
--flag-value , -f |
The value to serve when the comparison matches, it must respect the setting type |
--segment-id , -si |
ID of the Segment used in the rule |
--segment-comparator , -sc |
The segment comparison operator Possible values: isIn , isNotIn |
--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 targeting | Manage targeting rules |