---
title: "Update Template Endpoint"
method: PUT
path: "/api/v1/remy/templates/{template_id}"
tags: ["remy", "remy"]
---

# Update Template Endpoint

`PUT /api/v1/remy/templates/{template_id}`

Update one of this user's own templates. Global templates can't be edited here.

## Path parameters

- `template_id` string, required

## Request body

- DtoRequestRemyRequestDTOUpdateTemplateRequestDTO
  - `name` string, nullable
  - `kind` string, nullable
  - `category` 'funny' | 'casual' | 'professional' | 'formal' | 'friendly' | 'enthusiastic' | 'direct' | 'flattering' | 'playful' | 'persuasive' | 'personalized' | 'concise' | 'storytelling' | 'luxury' | 'bold' | 'empathetic' | 'curious' | 'urgent' | 'minimal' | 'other'
  - `data` TemplateDataDTO
    - `body` string, required
    - `variables` string[], nullable

## Response `200`

Successful Response

- TemplateDTO
  - `id` string, required
  - `scope` string, required
  - `user_id` string, nullable
  - `kind` string, required
  - `category` string, nullable
  - `name` string, required
  - `data` object, required
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/a9374f6fe96c/schema)
