---
title: "Rename template (Cloud-only)"
method: PATCH
path: "/v1/templates/{project_id}/{template_name}/name"
tags: ["templates"]
---

# Rename template (Cloud-only)

`PATCH /v1/templates/{project_id}/{template_name}/name`

Renames all versions of a template with the specified name. Versions are automatically stripped from the current template name if accidentally included.

## Path parameters

- `project_id` string, required
- `template_name` string, required

## Request body

- object
  - `new_name` string, required — The new name for the template

## Response `200`

200

- object
  - `success` boolean, required

## Other responses

- `400` — 400
- `404` — 404
- `409` — 409

---

[API](https://skmtc.dev/yu-code666/apis/letta-api.md) · [All operations](https://skmtc.dev/yu-code666/apis/letta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/yu-code666/letta-api/revisions/6cec99480c13/schema)
