update_rule_based_segment_definition
Update the rules, exclusions, and matchers of a segment definition in a specified workspace and environment.
Instructions
Update a rule-based segment definition in an environment (rules, exclusions, matchers)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | Full segment definition as a JSON string — includes rules, excludedKeys, excludedSegments | |
| segment_name | Yes | The segment name | |
| workspace_id | Yes | The workspace ID | |
| environment_id | Yes | The environment ID or name |