# Delete email template API

> Delete email template API reference: DELETE /templates/:id removes a template by id or alias from your account. Emails that still reference it fail with 404.

Canonical: https://www.cresca.xyz/docs/api-reference/delete-template
Last updated: 2026-11-05

Use the delete email template API to delete a template from your account.

DELETE https://api.cresca.xyz/api/v1/templates/:id

Requires a full-access key. The template and its version history are permanently deleted, and it is removed from the Cresca app as well.

Emails that reference a deleted template fail with `404 not_found`. Update your app before deleting a template it still uses.

### Path parameters

id string required

The template id or alias.

## Delete email template API example

Request

```bash
curl -X DELETE 'https://api.cresca.xyz/api/v1/templates/password-reset' \
  -H 'Authorization: Bearer cr_live_xxxxxxxxx'
```

Response 200

```json
{
  "object": "template",
  "id": "6713b1f4c2a94e0012ab34cd",
  "deleted": true
}
```

[Previous Publish template](https://www.cresca.xyz/docs/api-reference/publish-template) [Next Add contacts](https://www.cresca.xyz/docs/api-reference/add-contacts)

Last updated November 5, 2026. Questions? [lalit@cresca.xyz](mailto:lalit@cresca.xyz)
