Update Segment
update_segmentUpdate a SendGrid contact segment's name or query criteria to adjust audience targeting. Provide the segment ID and the new data to modify.
Instructions
Update an existing segment's name or query criteria
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the segment | |
| query_dsl | No | New query criteria for the segment (JSON string) | |
| segment_id | Yes | ID of the segment to update |