---
title: "Reset to default: deletes the clinic's wording, so the stock email goes out again."
method: DELETE
path: "/templates/automated-emails/{type}"
tags: ["AutomatedEmailTemplates"]
---

# Reset to default: deletes the clinic's wording, so the stock email goes out again.

`DELETE /templates/automated-emails/{type}`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/templates/automated-emails/{type}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/templates/automated-emails/:type/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `type` string, required

## Response `200`

OK

- AutomatedEmailDto
  - `type` string, required
  - `name` string, required
  - `description` string, required
  - `defaultSubject` string, required
  - `defaultBody` string, required
  - `variables` string[], required: The tokens this email can use, in the order the editor offers them.
  - `blockVariables` string[], required: Tokens that must sit on a line of their own in the body (a list, a button).
  - `emailSubject` string, nullable
  - `emailBody` string, nullable
  - `customised` boolean: True when the clinic has saved wording for this email.
  - `updatedAt` string, date-time, nullable

## Other responses

- `404`: Not Found

## Changes

- **2026-10-28** `099cf36186e0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/templates/automated-emails/:type/delete.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
