---
title: "Update template."
method: PUT
path: "/project/v1/templates/{id}"
tags: ["templates"]
---

# Update template.

`PUT /project/v1/templates/{id}`

Update project template.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string — Updated template name
  - `subject` string — Updated email subject line
  - `body` string — Updated email body content

## Response `200`

Default Response

- object
  - `data` object
    - `id` string
    - `name` string
    - `subject` string
    - `body` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `404` — Default Response

## Changes

- **2025-12-09** `9c0284025bec` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/unlayer/apis/unlayer-api/changes/project/v1/templates/:id/put.md)

---

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