> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pulse-send.jiordiviera.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a template

> Emails already sent keep their content. Sends that still use the slug fail with `resource_missing`.



## OpenAPI

````yaml /openapi.json delete /templates/{template}
openapi: 3.1.2
info:
  title: PulseSend API
  version: 1.0.0
  description: >-
    Send transactional email over HTTP. Authenticate with a `ps_live_` or
    `ps_test_` key.
servers:
  - url: https://pulse-send.jiordiviera.me/api/v1
    description: Production
security:
  - apiKey: []
tags:
  - name: Emails
  - name: Files
  - name: Templates
paths:
  /templates/{template}:
    delete:
      tags:
        - Templates
      summary: Delete a template
      description: >-
        Emails already sent keep their content. Sends that still use the slug
        fail with `resource_missing`.
      operationId: v1.templates.destroy
      parameters:
        - name: template
          in: path
          required: true
          description: The template slug, or its ID prefixed `tpl_`.
          schema:
            type: string
          example: otp-login
      responses:
        '204':
          description: No content
components:
  securitySchemes:
    apiKey:
      type: http
      description: Your API key, `ps_live_…` or `ps_test_…`.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.