Delete a template
flow_delete_templateDeletes a template for good (ids from flow_list_templates). A template any campaign uses, drafts and sent ones included, cannot be deleted, nor an SMS template in review. A WhatsApp template is deleted at Meta too, which keeps its name taken for 30 days.
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": {
"channel": "<channel>",
"id": "<id>"
},
"name": "flow_delete_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| 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. | |
| channel | Yes |