FlaresendDocs
Templates

Delete a template

Remove a stored template and all its versions.

DELETE/v1/templates/{name}API key

Deletes the stored template and its whole version history. This can't be undone. Emails already sent are not affected.

If a built-in template has the same name, sends with that name use the built-in template again from now on. Built-in templates themselves can't be deleted and return 404 template_not_found.

Path parameters

namestringpathrequired

The template name.

Response

namestring

The name of the deleted template.

Always true.

Errors

StatusCodeWhen
404template_not_foundNo stored template with this name. Built-in templates also return this.