---
title: "Patches the specified template"
method: PATCH
path: "/templates/{id}"
tags: ["templates"]
---

# Patches the specified template

`PATCH /templates/{id}`

Updates the template and returns the updated definition

## Path parameters

- `id` string, required

## Request body

- TemplateConfiguration — The configurable attributes of a template
  - `type` 'alert' | 'event' — Type of the template
  - `name` string — Name of the template
  - `description` string — Description of the template
  - `content` string — Content of the template

## Response `200`

The template was successfully updated

- Template — Identifier for a template
  - `type` 'alert' | 'event' — Type of the template
  - `name` string — Name of the template
  - `description` string — Description of the template
  - `content` string — Content of the template
  - `href` string — A reference to this template

---

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