---
title: "Delete an absence email template"
method: DELETE
path: "/absence-email-templates/{id}"
tags: ["Absence Email Management"]
---

# Delete an absence email template

`DELETE /absence-email-templates/{id}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/absence-email-templates/{id}`
- Auth: HTTP bearer

Deletes a template. Blocked if any active rules reference the template.

## Path parameters

- `id` string, uuid, required

## Response `200`

Template deleted successfully

## Other responses

- `400`: Cannot delete template referenced by active rules
- `401`: Unauthorized
- `404`: Template not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
