Delete the template specified in the url. NOTE: This method deletes all versions of the specified template.
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v3/{domain_name}/templates/{template_name}
- EU Mailgunhttps://api.eu.mailgun.net/v3/{domain_name}/templates/{template_name}
curl -i -X DELETE \
-u '<username>:<password>' \
'https://api.mailgun.net/v3/{domain_name}/templates/{template_name}'Response
- github.com-mailgun-temple-httpapi-versionUpdate
- null
{ "message": "template has been deleted", "template": { "name": "template_name" } }