Skip to main content
DELETE
Delete Template

Overview

Delete a WhatsApp message template from both your workspace and Meta’s system.
This action is irreversible. The template will be deleted from Meta and cannot be recovered.

Path Parameters


Response

Success (200 OK)

Not Found (404)


What Happens on Deletion?

1

Job Dispatched

A background job DeleteTemplateInApiProvider is queued
2

Meta Deletion

The template is deleted from Meta’s WhatsApp Business API
3

Local Deletion

The template is removed from your workspace database

Example Usage

cURL

JavaScript

Python


Before Deleting

Check Usage

Verify if the template is currently being used in active campaigns

Backup Data

Save template configuration if you might need it later

Consider Alternatives

Could you update instead of delete? Use Update Template

Test First

Test deletion on non-production templates first

Important Notes

Async ProcessingDeletion from Meta happens in the background. The local database entry is removed immediately, but Meta deletion may take a few seconds.
Active CampaignsIf the template is used in active campaigns or automations, deleting it will cause those to fail. Check dependencies before deletion.
Soft Delete AlternativeConsider implementing a soft delete pattern where templates are marked as archived instead of permanently deleted.


Error Scenarios


Bulk Deletion Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

template
integer
required

Response

message
string
required
Example:

"Resource deleted successfully."

status
integer
required
Example:

200