hermosodocs

delete_whatsapp_template

Delete a WhatsApp message template destructive

Area: WHATSAPP BUSINESS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

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.

Parameters

ParameterTypeDescription
wabaIdstringthe WhatsApp Business Account id. Optional when exactly one is shared with this profile; an account that is not shared is refused by name
namerequiredstringthe template name (Meta matches it exactly)
confirmbooleanREQUIRED true to actually delete — deletion is permanent and covers every language
confirmNamestringthe template’s exact name, echoed back — required alongside confirm

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/delete_whatsapp_template.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_whatsapp_template","arguments":{"name":"<string>"}}}

CLI

hermoso call delete_whatsapp_template --json '{"name":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json