إنتقل إلى المحتوى الرئيسي

Delete a WhatsApp template

DELETE 

/v1/agents/:agentId/connections/:connectionId/whatsapp-templates/:templateId

x-scope: "whatsapp_templates:write"
x-rate-limit-per-minute: 10

Deletes this one language version; the template's other languages stay. It can't be undone. Deleting an approved or paused template locks its name at Meta for 30 days, so it needs acknowledge_name_lock=true (without it, 409 template_delete_locks_name says until when). A disabled template can't be deleted, and one a broadcast is sending right now, or one Mojeeb's own notifications use, is refused with 409. It finds templates among the first 100 the list reads.

Request​

Responses​

Deleted.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.