PATCH /templates/:id
Change a template's name, alias, from, reply_to, subject, variables, html or content. Changes are saved as a draft: emails keep using the published version until you publish again. :id can be the alias.
| Field | Type | Description | |
|---|---|---|---|
name | string | Template name. | |
subject | string | Subject, with {{variables}}. | |
html | string | Replaces the content with this HTML. | |
variables | object[] | { name, type, fallback } definitions. |