Skip to main content
DELETE
/
whatsapp
/
businesses
/
{wabaId}
/
templates
/
{templateId}
Delete template
curl --request DELETE \
  --url https://api.hubmessage.io/whatsapp/businesses/{wabaId}/templates/{templateId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Overview

Removes an existing template from the WABA. The deletion is permanent.
This action cannot be undone. Once deleted, the template will need to be created again and go through a new Meta approval process.
The templateId is obtained from the List templates endpoint.

Authorizations

Authorization
string
header
required

Secret Key generated in the Hub Message Security panel

Path Parameters

wabaId
string
required

WABA ID (obtained via List WABAs)

Example:

"428083093730937"

templateId
string
required

Template ID (obtained via List templates)

Example:

"1900296177408890"

Response

Template deleted successfully

success
boolean

Indicates whether the operation was successful