# Delete template

> Permanently delete a template.

Source: https://sndr.sh/docs/cranl/templates/delete-template

`DELETE https://api.sndr.sh/api/cranl/v1/templates/{id}`

Permanently delete a template. Emails already sent are unaffected; later sends with this template_id fail with invalid_request.

Scope: `send`

**Path parameters**

- `id` (string, required): Template ID (tpl_...).

**Request**

```bash
curl -X DELETE 'https://api.sndr.sh/api/cranl/v1/templates/tpl_c19e5d34-82a' \
  -H 'Authorization: Bearer sndr_your_access_token'
```

**Response** (204)

No content.

**Errors**

- `unauthenticated` (401): Missing or invalid Bearer token.
- `token_expired` (401): Access token expired — exchange the refresh token for a new pair.
- `token_revoked` (401): Token was explicitly revoked.
- `insufficient_scope` (403): Token is missing the send scope.
- `not_found` (404): Resource does not exist or belongs to a different account.
