Update email template
Changes a template's draft. What's sent stays the published version until the draft is published again.
PATCH
Changes a template's draft. What's sent stays the published version until the draft is published again.
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
template*stringAlias or id
application/json- body
Changes to a draft. Fields left out stay as they are; null clears the
optional ones. New HTML replaces a design made in the dashboard.
alias?string|nullhtml?|Replaces the content. A design made in the dashboard is dropped, and
the text version is made again from this HTML unless text is given.
message_class?string|nullname?string|nullpreheader?string|nullsender_identity_id?string|nullsubject?string|nulltext?|null makes it again from the HTML.
variables?array<>|Replaces the whole list; null or [] removes them all.
The changed draft.
curl -X PATCH 'https://api.relevate.app/email/templates/string' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
Empty