v1

latestSwagger 2.02026-07-13434569.6 KB
Templates API

Update a Template

put/templates/{templateIdOrAlias}

Path parameters

templateIdOrAliasstring required

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

Headers

X-Postmark-Server-Tokenstring required

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

Request body

Aliasstring

The optional string identifier for referring to this Template (numbers, letters, and '.', '-', '_' characters, starts with a letter).

Namestring

The friendly display name for the template.

Subjectstring

The Subject template definition for this Template.

HtmlBodystring

The HTML template definition for this Template.

TextBodystring

The Text template definition for this Template.

Response

OK

Namestring

The display name for this template.

Aliasstring

The user-supplied alias for this template.

TemplateIdnumber

The associated ID for this template.

Activeboolean

True if this template is currently available for use.