Templates

Delete Template

Permanently delete an email template and all its versions. If project_id is not provided, the template will be looked up in the team's default project.

delete/templates/{slug}

Request

  • Base URL: https://app.lettr.com/api
  • URL: https://app.lettr.com/api/templates/{slug}
  • Auth: HTTP bearer

Path parameters

slugstring required
Example:welcome-email

The template slug (URL-friendly identifier)

Query parameters

project_idinteger

Project ID to delete the template from. If not provided, uses the team's default project.

Response

Template deleted successfully

messagestring required

Human-readable response message

Example response

{
  "message": "Template deleted successfully."
}

Changes

No recorded changes to this operation across all 1 revision of this API.