update_template
Update an existing Mailchimp template's name or HTML content by providing the template ID and optional new name or HTML. Only modifies specified fields.
Instructions
Update an existing template's name or HTML content.
Only provided fields are updated. Only works for user-created templates; gallery and base templates cannot be modified. Use create_template to create a new template instead of modifying a gallery template.
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes. Returns 404 error if template_id is invalid.
Args: template_id: Template ID to update (numeric string, e.g. '12345'). Obtain from list_templates. name: New display name for the template. html: New HTML content. Replaces all existing content.
Returns: JSON with id, name, type, active, date_edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | ||
| name | No | ||
| html | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |