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

# Update Template Endpoint

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

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/remy/templates/{template_id}`
- Auth: HTTP bearer

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/brandbooster-api.md) - [All operations](https://skmtc.dev/brandbooster/apis/brandbooster-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/brandbooster-api/revisions/f84fc05f417b?raw)
