Delete a WhatsApp message template
delete_whatsapp_templatePermanently delete a WhatsApp message template by first previewing what would be removed, then confirming with the exact template name to erase all language versions.
Instructions
PERMANENTLY delete a WhatsApp message template. META DELETES EVERY LANGUAGE OF A NAME AT ONCE, which is a wider blast radius than most callers picture, so call it WITHOUT confirm first: nothing is deleted and it reports exactly how many templates and which languages would go. Then show the user that, get an unambiguous yes, and call again with confirm:true AND confirmName set to the template’s exact name — confirming that you meant to delete SOMETHING does not prove you aimed at the right template. Any message sent against a deleted template afterwards is refused. The answer is a RE-READ from Meta, never the 200: if the template still comes back it is reported as not deleted. 0 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the template name (Meta matches it exactly) | |
| wabaId | No | the WhatsApp Business Account id. Optional when exactly one is shared with this brand; an account that is not shared is refused by name | |
| confirm | No | REQUIRED true to actually delete — deletion is permanent and covers every language | |
| confirmName | No | the template’s exact name, echoed back — required alongside confirm |