WhatsApp

Delete a message template

Deletes one language variant, or every variant when addressed by name with no language. Meta reserves the name for 30 days.

delete/api/profiles/{profile_id}/templates/{id}

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/profiles/{profile_id}/templates/{id}
  • Auth
    HTTP bearer

Query parameters

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

languagestring

Language code. Omit to delete every language variant

Response

What was deleted.

deletedboolean
scope'language' | 'all_languages'

Deleting by name with no language removes every language variant.

namestring
languagestring

Changes

No recorded changes to this operation across all 1 revision of this API.