Skip to main content
DELETE
/
v1
/
businesses
/
{businessId}
/
templates
/
{templateGroupId}
Delete Template
curl --request DELETE \
  --url https://api.example.com/v1/businesses/{businessId}/templates/{templateGroupId}
Delete a WhatsApp template group from your account. This removes it from Meta (via the WhatsApp Business Management API) and from Connectly. Deleting unused templates frees capacity against your WABA’s template limit.
Deletion is permanent. Any active or scheduled campaign that references this template by name may fail to deliver after deletion. Review your campaigns and automations in the Connectly dashboard before deleting.

Endpoint

DELETE https://api.connectly.ai/v1/businesses/{businessId}/templates/{templateGroupId}
The request takes no body.

Path parameters

ParameterTypeDescription
businessIdstringYour business ID (UUID format).
templateGroupIdstringThe template name — the same name you set when creating it (e.g. order_confirmation). This is not an internal UUID. Deleting by name removes the entire template group, including all language variants.
To find the template name, call Get templates and use the name field from the template group object.

Response

A successful deletion returns HTTP 200 with an empty body.
{}
This endpoint is idempotent — deleting a template that doesn’t exist or was already deleted also returns 200.

Example

curl -X DELETE "https://api.connectly.ai/v1/businesses/{businessId}/templates/order_confirmation" \
  -H "X-API-Key: YOUR_API_KEY"
If the same template name is registered on more than one WhatsApp channel under your business, this endpoint removes it from the default channel. Targeting a specific channel is not yet supported.