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

# Delete an email template, layout or saved reply.

> The template is also taken off every tag that it carries.
            
System emails cannot be deleted. A template that was used for a broadcast or drip
email, or that was sent with the send endpoint, cannot be deleted either. These
requests are rejected with a validation error.



## OpenAPI

````yaml /api-reference/openapi.json delete /api/v1/templates/{templateUid}
openapi: 3.0.0
info:
  title: Outseta API
  description: >-
    Outseta REST API. See the [API
    overview](https://docs.outseta.com/api-reference/overview) for
    authentication, field selection, pagination, filtering, errors, rate limits
    and webhooks.
  version: v1
servers:
  - url: https://{subdomain}.outseta.com
    description: Your Outseta account
    variables:
      subdomain:
        default: your-subdomain
        description: >-
          Your Outseta account subdomain — the part before ".outseta.com" in
          your admin URL.
security: []
paths:
  /api/v1/templates/{templateUid}:
    delete:
      tags:
        - Template
      summary: Delete an email template, layout or saved reply.
      description: >-
        The template is also taken off every tag that it carries.
                    
        System emails cannot be deleted. A template that was used for a
        broadcast or drip

        email, or that was sent with the send endpoint, cannot be deleted
        either. These

        requests are rejected with a validation error.
      operationId: Template_DeleteTemplate
      parameters:
        - name: templateUid
          in: path
          required: true
          description: The Uid of the template, as returned by the list endpoint.
          schema:
            type: string
            nullable: true
          x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
                example: string
        '400':
          description: Invalid Uid format
        '401':
          description: Unauthorized
        '404':
          description: Entity not found
      security:
        - Bearer: []
        - ApiKey: []
components:
  securitySchemes:
    Bearer:
      type: http
      description: Enter your access token (OAuth / JWT).
      scheme: bearer
      bearerFormat: JWT
    ApiKey:
      type: apiKey
      description: 'Enter: Outseta {api_key}:{api_secret}'
      name: Authorization
      in: header

````

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