WhatsApp

Delete template

Permanently delete a message template.

Without language this deletes every language variant of the name (Meta's own contract for deletion by name). Pass language to delete one variant only; the response scope says which happened. Meta keeps a deleted approved template in PENDING_DELETION for a while and the name cannot be reused for 30 days.

delete/v1/whatsapp/templates/{templateName}

Path parameters

templateNamestring required

Template name (the family).

Query parameters

accountIdstring required

WhatsApp social account ID

languagestring

Delete only this language variant (e.g. es). Omit to delete the whole family.

Response

Template deleted successfully

successboolean
scope'all_languages' | 'language'

Whether the whole family or one variant was deleted.

languagestring

The deleted variant; only when scope is language.

messagestring

Changes

Changed in 1 of the 32 revisions of this API.15

  • e6f7a453bfb115See the full diff
    • removed the media type application/json for the response with the status

      response-media-type-removed

    • added the new optional query request parameter language

      new-optional-request-parameter

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog