deleteWhatsappTemplate
Deletes one language version of a WhatsApp template from your workspace so post-call actions stop sending it; delete any campaign using it first, and note this cannot be undone.
Instructions
Delete one template from WhatsApp and from your list.
It deletes only that language of the template. A post-call action that uses it stops sending it. A template that a campaign uses is not deleted: delete the campaign first. This cannot be undone, so confirm with the user first.
(Tags: WhatsApp)
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": {
"number_id": "<number_id>",
"template_id": "<template_id>"
},
"name": "deleteWhatsappTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number_id | Yes | Id of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`. | |
| template_id | Yes | The template's `id` from `listWhatsappTemplates`. |