Delete WhatsApp Template
Delete a WhatsApp template.
- If registered in multiple languages, deleting the message template will also delete all its languages.
- The template will be deleted for all senders registered under the same WhatsApp Business Account (WABA).
- The system will attempt to deliver sent messages for 30 days, regardless of the template deletion.
- Once deleted, the name of the approved template cannot be reused for 30 days.
Please log in to see full path URL. Learn why.
delete
/whatsapp/2/senders/{sender}/templates/{templateName}
Authorizations:
Scopes:
Request rate limit:
200 requests / hour (per account)
path Parameters
sender required | string Example: 447796344125 Registered WhatsApp sender number. Must be in international format. |
templateName required | string ^[a-z0-9_]{1,512}$ Example: template_name Template name. Must only contain lowercase alphanumeric characters and underscores. |
Responses
204
Template deleted.
400
Bad request.
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/whatsapp/2/senders/447796344125/templates/template_name' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 400
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Copy
Collapse all {- "requestError": {
- "serviceException": {
- "messageId": "BAD_REQUEST",
- "text": "Bad request"
}
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See