nevent_update_template
Update an existing email template: change the name, MJML/HTML content, or tags. Call nevent_get_template first to inspect the current version before modifying. At least one of name, content, or tags must be provided. Note: updating a template does NOT retroactively change campaigns already sent with it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New human-readable name for the template. Omit to leave unchanged. | |
| tags | No | Replacement list of tags. The full tag list is replaced when provided. Omit to leave existing tags unchanged. | |
| format | No | New template format: "html" or "mjml". Omit to leave unchanged. | |
| html_body | No | New raw HTML content for the template. Omit to leave unchanged. | |
| mjml_body | No | New MJML source code for the template. Omit to leave unchanged. | |
| template_id | Yes | Identifier of the template to update. Use nevent_list_templates to get valid template IDs. |