Delete a message template
DELETE
/v1/whatsapp/templates/{template_ref}await bird.whatsapp.templates.delete("order_update");client.whatsapp.templates.delete("order_update")if err := client.Whatsapp.Templates.Delete(context.Background(), "order_update"); err != nil {
log.Fatal(err)
}$bird->whatsapp->templates->delete('order_update');bird whatsapp templates delete <template-ref> --yescurl -X DELETE "https://us1.platform.bird.com/v1/whatsapp/templates/{template_ref}" \
-H "Authorization: Bearer $TOKEN"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_refstringTemplate ID (wat_ prefix) or slug. A value that parses as a valid ID resolves by ID; any other value resolves as a slug.
Related resources
Continue with the documentation, guides and examples for this topic.