Update a Segment identified by the --segment-id option
up
configcat segment update [options]
configcat segment update -i <segment-id> -n "Beta users" -d "Beta users" -a Email -c contains -t @example.com
| Option | Description |
|---|---|
--segment-id, -i |
ID of the Segment to update |
--name, -n |
The updated name |
--description, -d |
The updated description |
--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 |
--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 segment | Manage Segments |