---
title: "Delete template"
method: DELETE
path: "/resources/mail/v1/configs/templates/{templateId}"
tags: ["Email templates"]
---

# Delete template

`DELETE /resources/mail/v1/configs/templates/{templateId}`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/mail/v1/configs/templates/{templateId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/mail/v1/configs/templates/:templateId/delete.ts> (a function with typed inputs; its response is checked against the schema)

This route deletes specified email template. Select the email template using the ID of the template - which can be obtained via the **Get template** API. A vendor token is required for this route, it can be obtained from the vendor authentication route.

## Path parameters

- `templateId` string, required

## Response `200`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
