---
title: "Update a template"
method: PATCH
path: "/templates/{id}"
---

# Update a template

`PATCH /templates/{id}`

## Request

- Base URL: `https://sendinel.ai/api/v1`
- URL: `https://sendinel.ai/api/v1/templates/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://sendinel.ai/oauth/authorize`, token URL `https://sendinel.ai/oauth/token`)

## Path parameters

- `id` string, uuid, required

## Request body

- Template
  - `id` string, uuid, required
  - `name` string, required
  - `category` string, required
  - `description` string
  - `subject_hint` string
  - `brief_template` string, required
  - `body_html` string, nullable
  - `tags` string[]

## Response `200`

Template updated

---

[API](https://skmtc.dev/sendinel/apis/sendinel-api.md) · [All operations](https://skmtc.dev/sendinel/apis/sendinel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendinel/apis/sendinel-api/revisions/20b2c6d5616d?raw)
