---
title: "Delete Template"
method: DELETE
path: "/template"
tags: ["Template"]
---

# Delete Template

`DELETE /template`

Delete an existing template

## Query parameters

- `select` string
- `id` string, required
- `created_at` string
- `updated_at` string
- `organisation_id` string
- `name` string
- `subject` string
- `content` string
- `text` string
- `request_approvals` string
- `language` string
- `key` string
- `footer` string
- `type` string
- `buttons` string
- `header_media_filename` string

## Response `200`

The updated Template object

- Template
  - `id` string, uuid — Template ID
  - `created_at` string, timestamp with time zone — Template creation date
  - `updated_at` string, timestamp with time zone — Latest update
  - `organisation_id` string, uuid, nullable — Organisation ID
  - `name` string, text — Name of template
  - `subject` string, text, nullable — Subject of template
  - `content` object, nullable — Content of template
  - `text` string, text, nullable — Text representation of the template content
  - `request_approvals` boolean, nullable — Request approvals of template
  - `language` string, character varying — Language of template
  - `key` string, text — Template key
  - `footer` string, text, nullable — Footer of template
  - `type` 'review_request' | 'auto_responder' | 'opt_in_request' | 'transactional' | 'marketing' | 'opt_out_confirmation' | 'double_opt_in_confirmation', public.template_type — Type of template
  - `buttons` object, nullable — Buttons of template
  - `header_media_filename` string, text, nullable — Header media filename of template

## Other responses

- `204` — No Content

---

[API](https://skmtc.dev/getmateo/apis/mateo-api.md) · [All operations](https://skmtc.dev/getmateo/apis/mateo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getmateo/mateo-api/revisions/22a9b3b009d1/schema)
