WhatsApp Templates

Delete a message template

Deletes one WhatsApp message template by SignalWire ID or Meta template ID. Use it when the reusable template should no longer be available for outbound messages; this does not delete the WhatsApp Business Account or connected number.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.

Learn more about API scopes.

delete/api/messaging/whatsapp/templates/{id}

Path parameters

idstring required

The template ID — either the SignalWire ID (a UUID) or the Meta template ID (a numeric string). Both are accepted.

Response

Response returned when a template has been deleted.

successboolean required

Whether the template was deleted successfully at Meta.

{"stackTrail":"components:schemas:WhatsAppTemplateDeleteResponse:properties:errors","oasType":"schema","type":"unknown","description":"Empty array when the deletion succeeds; otherwise the error details returned by Meta."}

Changes

Changed in 6 of the 137 revisions of this API.34

Of the 137 revisions, 3 have a changelog that could not be searched.