Delete Segment
delete_segmentDelete an existing contact segment in SendGrid by providing its segment ID, simplifying list management and keeping your audience data organized.
Instructions
Delete an existing segment
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"segment_id": "<segment_id>"
},
"name": "delete_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | Yes | ID of the segment to delete |