Skip to main content

Delete Message Template

Delete Message Template deletes a WhatsApp template by name (all languages), or one language version when you also give Template ID (one language).

  • An approved template's name can't be reused for 30 days after it's deleted.
  • DISABLED templates can't be deleted.

It calls DELETE https://graph.facebook.com/v23.0/{wabaId}/message_templates.

The activity has four tabs: Configuration, Auth, Input and Output.

Configuration​

FieldRequiredDescription
NameOptionalName of the step, should be unique within this workflow.
DescriptionOptionalDescribe the purpose or function of this step.
WABA IDOptionalWhatsApp Business Account id. Not the app id or phone number id. Sent as the wabaId path parameter; Meta needs it.
Template NameOptionalTemplate name to delete (all languages). Sent as the name query parameter; Meta needs it.
Template ID (one language)OptionalWith Template Name, deletes only this language version. Sent as hsm_id.

Auth​

FieldRequiredDescription
Auth TypeOptionalOAuth 2, the only option. WhatsApp uses the Meta OAuth connection.
WhatsApp ConnectionOptionalThe WhatsApp resource, which needs the whatsapp_business_management scope.

Input​

This activity is built on the REST Client. It sends no request body; the values above go in the URL. You can also map pathParams.wabaId and queryParams.name from an earlier step here.

FieldRequiredData TypeDescription
TargetRequiredObjectThe HTTP request.

Output​

The activity returns an httpResponse object (status.code, status.message, headers, body). The response body carries:

FieldData TypeDescription
successBooleantrue when the template was deleted.