delete_whatsapp_template
Delete one WhatsApp message template, in one language, from a WhatsApp Business API number. It works in two steps: called without a confirmToken it only reports which template would be deleted and returns a token, writing nothing; the deletion happens on a second call carrying that token, after the user approved it. It never deletes more than the template it reported, and it asks which language when the name exists in several.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the template to delete | |
| device | No | WhatsApp Business API device ID (24 hex characters) that owns the template | |
| language | No | Language code of the template to delete, e.g. es or en_US. Required when the name exists in several languages. | |
| confirmToken | No | Token returned with the confirmation. Pass it only after the user approved deleting that exact template. |