Delete a segment
flow_delete_segmentDeletes a segment for good (ids from flow_list_segments); its contacts stay. A segment a draft, scheduled or preparing campaign sends to cannot be deleted.
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": {
"id": "<id>"
},
"name": "flow_delete_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Segment id, from flow_list_segments | |
| brandId | No | The id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active. |