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

# Excluir template de WhatsApp

> Remove o template da WABA pelo nome. A exclusão é definitiva e apaga todas as versões de idioma registradas sob esse nome. Mensagens já enviadas não são afetadas.



## OpenAPI

````yaml https://api.jurichat.com/docs/client/openapi.json delete /integration/templates/{integrationId}/{templateName}
openapi: 3.1.0
info:
  title: JuriChat API — Documentação para Integradores
  description: ''
  version: 1.0.0
servers:
  - url: https://api.jurichat.com
    description: Production server
security:
  - apiKeyAuth: []
tags: []
paths:
  /integration/templates/{integrationId}/{templateName}:
    delete:
      tags:
        - Templates
      summary: Excluir template de WhatsApp
      description: >-
        Remove o template da WABA pelo nome. A exclusão é definitiva e apaga
        todas as versões de idioma registradas sob esse nome. Mensagens já
        enviadas não são afetadas.
      parameters:
        - schema:
            type: string
            pattern: ^[cC][^\s-]{8,}$
          in: path
          name: integrationId
          required: true
          description: ID da integração de WhatsApp API Oficial do escritório.
        - schema:
            type: string
            minLength: 1
          in: path
          name: templateName
          required: true
          description: >-
            Nome do template na Meta. A exclusão remove todos os idiomas desse
            nome.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: ID do template na Meta.
                  status:
                    type: string
                    description: Status inicial atribuído pela Meta, normalmente PENDING.
                  category:
                    type: string
                    description: Categoria confirmada pela Meta.
                  success:
                    type: boolean
                    description: Indica sucesso em operações de exclusão.
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  details: {}
                required:
                  - message
                  - statusCode
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  details: {}
                required:
                  - message
                  - statusCode
                additionalProperties: false
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-jurichat-api-key
      description: >-
        Chave de API do escritório (criada no painel). Envie o valor no header
        x-jurichat-api-key.

````