Actions138
- Account Actions
- Contact Actions
- List Actions
- Campaign Actions
- Webhook Actions
- Segment Actions
- Report Actions
- Email Actions
- Custom Attribute Actions
- Sender Actions
- Template Actions
- Sub-Account Actions
- Log Actions
- User Actions
- Domain Actions
- DKIM Actions
- Form Actions
- Token Actions
- Interest Actions
- Tags Actions
- Suppressed Email Actions
- Links Actions
Template → Update
AI-generatedSummary
Update a Cakemail Template based on the provided Template ID and updated fields.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- templateId (required) — ID of the template to be updated.
- updateFields (required) — Fields to update within the template, including name, HTML message, text message, description, and tags.
Output shape
no body — success/failure only
Return success or error notification, with no body expected.
Examples
Example 1: Changing the name and HTML content of an existing template to better reflect updated branding.
Set the templateId to the target template's ID and provide new values in updateFields for name and htmlMessage.
Example 2: Updating just the tags associated with a template.
Set the templateId to the specified template and provide a new comma-separated string of tags in updateFields.