---
title: "Update a template’s name or description"
method: PATCH
path: "/api/v1/templates/{id}"
tags: ["Templates"]
---

# Update a template’s name or description

`PATCH /api/v1/templates/{id}`

## Request

- Base URL: `https://swiftsign.ca`
- URL: `https://swiftsign.ca/api/v1/templates/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- UpdateTemplateBody
  - `name` string
  - `description` string, nullable

## Response `200`

The updated template.

- Template
  - `id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `createdAt` string, required
  - `updatedAt` string, required

## Other responses

- `400`: Validation error.
- `401`: Missing or invalid API key.
- `404`: Template not found.

---

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