update_template
Update a saved email template by ID or slug. Modify name, subject, sender, or body content; use null to clear HTML or text fields.
Instructions
Update a saved template by id or slug (partial — only provided fields change). Pass an explicit null for html or text to clear that body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template id or slug. | |
| html | No | New HTML body, or null to clear it. | |
| name | No | ||
| slug | No | ||
| text | No | New plain-text body, or null to clear it. | |
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. | |
| subject | No |