Email templates
Delete an email template
delete/email_templates/{id}
Path parameters
idstring required
The ID of the email template
Response
The deleted EmailTemplate object
idstring required
The ID of the email template
namestring required
The name of the email template
subjectstring required
The subject of the email template. Variables are supported via {{ variableName }}
bodystring nullable required
(Deprecated) The body of the email template. Always null since there are no plaintext emails
kind'html' | 'unlayer' | 'old_editor' | 'editor' required
The kind of the email template
template_htmlstring nullable required
The HTML representation of the rich text email. May be null
{"stackTrail":"components:schemas:EmailTemplate:properties:template_json","oasType":"schema","type":"unknown","description":"The JSON representing the rich text email template. May be null","nullable":true}
{"stackTrail":"components:schemas:EmailTemplate:properties:new_template_json","oasType":"schema","type":"unknown","description":"The new unlayer JSON template. May be null","nullable":true}
new_template_htmlstring nullable required
The new unlayer HTML template. May be null
metadataobject required
Arbitrary metadata associated with this email template
created_atstring required
The time when the email template was created in ISO 8601 format
enabled_atstring nullable
The time when the email template was enabled in ISO 8601 format