delete_whats_app_message_template
async
¶
delete_whats_app_message_template(
id: LinkedWhatsAppBusinessAccountId,
template_name: MetaTemplateName,
*,
config_overrides: Optional[AsyncSocialMessagingClientConfig] = 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.
Source code in docs_src/capo_socialmessaging/_services/async_social_messaging.py
1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 | |