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

# Delete Template

> Deletes a WhatsApp Template



## OpenAPI

````yaml api-reference/openapi.json delete /api/v1/whatsapp-templates/{id}/
openapi: 3.0.3
info:
  title: Wassist API
  version: 1.0.0
  description: API for building WhatsApp AI agents
servers:
  - url: https://backend.wassist.app
    description: Production
  - url: http://localhost:8050
    description: Development
security: []
tags:
  - name: Agents
    description: Create and manage AI agents
  - name: Conversations
    description: Chat conversations and messages
  - name: WhatsApp
    description: WhatsApp Business account management
  - name: Contacts
    description: Contact management
  - name: Integrations
    description: Third-party integrations
paths:
  /api/v1/whatsapp-templates/{id}/:
    delete:
      tags:
        - api
      description: >-
        ViewSet for managing local WhatsApp Message Templates.


        Templates can be created as drafts, then published to one or more
        WhatsApp Business Accounts.

        Status updates are received via webhooks from Meta.


        Endpoints:

        - GET /whatsapp-templates/ - List all templates with account links

        - POST /whatsapp-templates/ - Create a new template (draft)

        - GET /whatsapp-templates/{id}/ - Get template details with account
        statuses

        - PATCH /whatsapp-templates/{id}/ - Update template

        - DELETE /whatsapp-templates/{id}/ - Delete template and all links

        - POST /whatsapp-templates/{id}/publish/ - Publish to specific
        account(s)

        - POST /whatsapp-templates/{id}/unpublish/ - Remove from specific
        account(s)
      operationId: api_v1_whatsapp_templates_destroy
      parameters:
        - in: path
          name: id
          schema:
            type: string
          required: true
      responses:
        '204':
          description: No response body
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key authentication. Pass your API key in the X-API-Key header.

````