Sign inGet Started

Delete a message template

DELETE
/v1/whatsapp/templates/{template_ref}
await bird.whatsapp.templates.delete("order_update");

Deletes a template and every language it holds. Built-in templates cannot be deleted. A template your workspace authored is removed immediately, and its copy at WhatsApp is removed afterwards. WhatsApp refuses to delete a template while any of its languages is disabled, so the request fails until WhatsApp changes that language's status.

Parameters

template_refstring

Template ID (wat_ prefix) or slug. A value that parses as a valid ID resolves by ID; any other value resolves as a slug.

Continue with the documentation, guides and examples for this topic.