DoveMesh Docs

Delete a template

DELETEhttps://wa.dovemesh.com/v3/{waba_id}/message_templates

Deletes a template.

  • With only name, every language of that template is deleted.
  • With name and hsm_id (the template ID), only that one language is deleted.

You can't create a template with a deleted name for 30 days. Messages already sent aren't affected.

"success": true confirms the delete. List templates can still return the template, with its old status, for a minute or two afterwards, so don't confirm a delete by listing again.

Authorization

apiKey
apikey<token>

Your DoveMesh API key, from the dashboard's Developers page.

In: header

Path Parameters

waba_id*string

ID of your WhatsApp Business Account (whatsapp_business_account_id in List your phone numbers).

Query Parameters

name*string

The template's name.

hsm_id?string

The template ID, to delete only one language.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://wa.dovemesh.com/v3/105954558954427/message_templates?name=diwali_offer&hsm_id=594425479261597" \  -H "apikey: dm_live_..."
{  "success": true}