EndUserMessagingSocial / Client / delete_whatsapp_message_template

delete_whatsapp_message_template

EndUserMessagingSocial.Client.delete_whatsapp_message_template(**kwargs)

Deletes a WhatsApp message template.

See also: AWS API Documentation

Request Syntax

response = client.delete_whatsapp_message_template(
    metaTemplateId='string',
    deleteAllLanguages=True|False,
    id='string',
    templateName='string'
)
Parameters:
  • metaTemplateId (string) – The numeric ID of the template assigned by Meta.

  • deleteAllLanguages (boolean) – If true, deletes all language versions of the template.

  • id (string) –

    [REQUIRED]

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

  • templateName (string) –

    [REQUIRED]

    The name of the template to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • EndUserMessagingSocial.Client.exceptions.ValidationException

  • EndUserMessagingSocial.Client.exceptions.AccessDeniedException

  • EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException

  • EndUserMessagingSocial.Client.exceptions.InvalidParametersException

  • EndUserMessagingSocial.Client.exceptions.ThrottledRequestException

  • EndUserMessagingSocial.Client.exceptions.InternalServiceException

  • EndUserMessagingSocial.Client.exceptions.DependencyException