set_segment_enabled
Activate or deactivate a segment in Interaction Studio, with optional dry run to preview changes before applying.
Instructions
Enable or disable an Interaction Studio segment. Requires IS_WRITES_ENABLED=true and confirm=true. Defaults to dry_run preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required to execute when dry_run=false (default: false) | |
| dataset | No | Dataset name. Optional if IS_DEFAULT_DATASET is configured. | |
| dry_run | No | Preview only, no write (default: true) | |
| enabled | Yes | true to enable, false to disable | |
| segment_id | Yes | Segment id from list_segments |