# Update a template (/api/templates/update-template)

`POST https://api.comecero.com/api/v1/templates/{id}`

Changes the fields you send and leaves the others as they are. Emails sent after the change use the new body. Answers `201`, not `200`. Secret and trusted tokens may call it; a limited token may not (`403`).

## Parameters

- `id` (path, required): The template id.

Request body: the `template_request` schema.

Responses: 201, 400, 401, 403, 404, 500.

Full schemas: operation `update_template` in /openapi.json.