delete_whats_app_message_template
¶
delete_whats_app_message_template(
id: LinkedWhatsAppBusinessAccountId,
template_name: MetaTemplateName,
*,
config_overrides: Optional[SocialMessagingClientConfig] = None,
meta_template_id: Optional[MetaTemplateId] = None,
delete_all_languages: Optional[DeleteAllLanguages] = None,
) -> DeleteWhatsAppMessageTemplateOutput
Deletes a WhatsApp message template.
Parameters:
-
meta_template_id(Optional[MetaTemplateId], default:None) –The numeric ID of the template assigned by Meta.
-
delete_all_languages(Optional[DeleteAllLanguages], default:None) –If true, deletes all language versions of the template.
-
id(LinkedWhatsAppBusinessAccountId) –The ID of the WhatsApp Business Account associated with this template.
-
template_name(MetaTemplateName) –The name of the template to delete.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–The request contains an invalid parameter value.
-
AccessDeniedByMetaException–You do not have sufficient access to perform this action.
-
DependencyException–Thrown when performing an action because a dependency would be broken.
-
InternalServiceException–The request processing has failed because of an unknown error, exception, or failure.
-
InvalidParametersException–One or more parameters provided to the action are not valid.
-
ResourceNotFoundException–The resource was not found.
-
ThrottledRequestException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.