v1

latestSwagger 2.02026-07-13434569.6 KB
Templates API

Delete a Template

delete/templates/{templateIdOrAlias}

Path parameters

templateIdOrAliasstring required

The 'TemplateID' or 'Alias' value for the Template you wish to delete.

Headers

X-Postmark-Server-Tokenstring required

The token associated with the Server on which this request will operate.

Response

OK

Namestring

The display name for the template.

Aliasstring

The user-supplied alias for this template.

TemplateIDinteger

The ID associated with the template.

HtmlBodystring

The content to use for the HtmlBody when this template is used to send email.

TextBodystring

The content to use for the TextBody when this template is used to send email.

AssociatedServerIdinteger

The ID of the Server with which this template is associated.

Subjectstring

The content to use for the Subject when this template is used to send email.

Activeboolean

Indicates that this template may be used for sending email.