Email Templates

Replace an email template

Replaces template fields. Behaves identically to PATCH; provided for compatibility with Phoenix resource routes.

put/email_templates/{id}

Path parameters

idstring uuid required

Email template UUID.

Request body

namestring
subjectstring nullable

Liquid template subject.

html_bodystring nullable

Liquid template HTML body.

text_bodystring nullable

Liquid template text body.

variablesstring[]
strict_variablesboolean

Per-template strict variable-validation setting.

autoescapeboolean

Per-template HTML autoescaping setting.

variable_schemaobject nullable

Structured variable requirements. Required variables cannot define defaults; invalid combinations return 422. Set to null to clear the schema.

Response

Template updated.

Changes