---
title: "Patch an email template"
method: PATCH
path: "/api/email_templates/{heron_id}"
tags: ["EmailTemplates"]
---

# Patch an email template

`PATCH /api/email_templates/{heron_id}`

Update an email template

## Path parameters

- `heron_id` string, required

## Request body

- EmailTemplatePatchSchema
  - `cc_address` string, nullable — The email address to CC
  - `heron_id` string — Unique identifier for the email template
  - `html_body` string — The body of the email to send.
  - `name` string — Unique name of the email template. Used to match which email template to send. Only alphanumeric characters, underscores, and dashes are allowed.
  - `reply_to_address` string, nullable — The email address to reply to
  - `to_address` string, nullable — The email address to send the email to

## Response `201`

OK

- object
  - `email_template` EmailTemplatePatchSchema
    - `cc_address` string, nullable — The email address to CC
    - `heron_id` string — Unique identifier for the email template
    - `html_body` string — The body of the email to send.
    - `name` string — Unique name of the email template. Used to match which email template to send. Only alphanumeric characters, underscores, and dashes are allowed.
    - `reply_to_address` string, nullable — The email address to reply to
    - `to_address` string, nullable — The email address to send the email to

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) · [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/herondata/heron-data-api/revisions/f2e441edece2/schema)
