v50

latestOpenAPI 3.0.0Proprietaryraw.githubusercontent.com2026-06-1841147599.2 KB
Templates

Delete a template

Deletes a template by ID. Optionally, you can also delete the template from WhatsApp/Meta by setting delete_from_meta=true.

delete/v3/templates/{id}

Path parameters

idstring uuid required

Template ID from route parameter

Headers

x-profile-idstring uuid

Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.

Request body

sandboxboolean

Sandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution

delete_from_metaboolean nullable

Whether to also delete the template from WhatsApp/Meta (optional, defaults to false)

Example request

{
  "delete_from_meta": false,
  "sandbox": false
}

Response

Template deleted successfully