update_segment
Modify an existing segment's name or query criteria to refine audience targeting and contact organization in SendGrid email marketing campaigns.
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 |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"description": "New name for the segment",
"type": "string"
},
"query_dsl": {
"description": "New query criteria for the segment (JSON string)",
"type": "string"
},
"segment_id": {
"description": "ID of the segment to update",
"type": "string"
}
},
"required": [
"segment_id"
],
"type": "object"
}