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

# Delete a template folder

> Delete a template folder. Templates in the folder will become unassigned, not deleted.



## OpenAPI

````yaml DELETE /template-folders/{id}
openapi: 3.1.0
info:
  title: SendKit API
  description: The SendKit API allows you to send transactional emails programmatically.
  version: 1.0.0
servers:
  - url: https://api.sendkit.dev
security:
  - bearerAuth: []
paths:
  /template-folders/{id}:
    delete:
      tags:
        - Template Folders
      summary: Delete a template folder
      description: >-
        Delete a template folder. Templates in the folder will become
        unassigned, not deleted.
      operationId: deleteTemplateFolder
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The template folder ID.
      responses:
        '204':
          description: Folder deleted successfully
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    NotFound:
      description: The requested resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            message: Not found.
  schemas:
    ErrorResponse:
      type: object
      properties:
        name:
          type: string
          description: Error type identifier.
          example: validation_error
        message:
          type: string
          description: Human-readable error message.
          example: The from address domain is not verified.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key from your SendKit dashboard. Pass it as a Bearer token in the
        Authorization header.

````