Update Segment
update_segmentModify an existing SendGrid segment's name or query criteria. Provide the segment ID and optionally a new name or query DSL to redefine its contact filtering.
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 |