Skip to main content
DELETE
/
whatsapp
/
businesses
/
{wabaId}
/
templates
/
{templateId}
Deletar 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 gerada no painel de Segurança do Hub Message

Path Parameters

wabaId
string
required

ID do WABA (obtido via Listar WABAs)

Example:

"428083093730937"

templateId
string
required

ID do template (obtido via Listar templates)

Example:

"1900296177408890"

Response

Template deletado com sucesso

success
boolean

Indica se a operação foi realizada com sucesso