Skip to main content
Partial update — send only the fields you want to change. The rest are left untouched. PATCH /v1/templates/{id}

Path parameters

string
required
The template id to update.

Body parameters

All fields are optional; omitted fields keep their current value.
string
New display name.
string
New subject line.
string | null
New HTML body. Pass null to clear it.
string | null
New plain-text body. Pass null to clear it.
string
New slug. Must stay unique within the project.

Request

Response

Returns the full template with a refreshed updatedAt and a recomputed variables list.
200 OK
Slug collisions. Changing slug to one already taken in the project returns 409 conflict (template_slug_taken).