:doc:`EndUserMessagingSocial <../../socialmessaging>` / Client / delete_whatsapp_message_template

********************************
delete_whatsapp_message_template
********************************



.. py:method:: EndUserMessagingSocial.Client.delete_whatsapp_message_template(**kwargs)

  

  Deletes a WhatsApp message template.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/DeleteWhatsAppMessageTemplate>`_  


  **Request Syntax**
  ::

    response = client.delete_whatsapp_message_template(
        metaTemplateId='string',
        deleteAllLanguages=True|False,
        id='string',
        templateName='string'
    )
    
  :type metaTemplateId: string
  :param metaTemplateId: 

    The numeric ID of the template assigned by Meta.

    

  
  :type deleteAllLanguages: boolean
  :param deleteAllLanguages: 

    If true, deletes all language versions of the template.

    

  
  :type id: string
  :param id: **[REQUIRED]** 

    The ID of the WhatsApp Business Account associated with this template.

    

  
  :type templateName: string
  :param templateName: **[REQUIRED]** 

    The name of the template to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ValidationException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InvalidParametersException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ThrottledRequestException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InternalServiceException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.DependencyException`

  