Cakemail icon

Cakemail

Interact with Cakemail API

Template → Update

AI-generated

Summary

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.

Discussion