Delete a contact group
flow_delete_groupDeletes a contact group for good (ids from flow_list_groups). Its contacts are kept unless deleteContacts is true: then the contacts in no other group are deleted with it (contacts on the blocklist are kept; at most 1000). A group 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_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Group id, from flow_list_groups | |
| 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. | |
| deleteContacts | No | Also delete the group's contacts that are in no other group |