Skip to content
PaalChat Docs

Delete template

.md
DELETE
https://whatsapp.paaltech.org/api/v1/businesses/{external_id}/whatsapp/templates/{name}

Token ability: templates.manage ยท Authentication

Deletes the template at Meta - one language with ?language=, otherwise every language of the name - and removes it from PaalChat's mirror. Messages already sent are not affected.

Path parameters

external_id string required

Your own ID for the business (Multi-SKUUL - the tenant ID).

Max 191 characters. Pattern ^[A-Za-z0-9._:-]+$.

name string required

Pattern ^[a-z0-9_]+$.

Query parameters

language string
waba_id string

Needed only when several of the business's accounts have the name.

Responses

200

Deleted.

401

unauthenticated - missing, invalid, revoked or expired token

403

missing_ability, product_suspended or product_token_required

404

not_found (business) or unknown_template.

409

business_suspended - the business is suspended on PaalChat.

422

waba_required or template_rejected.

429

rate_limited - over 300 requests/minute for this product

503

meta_unavailable.

Errors always look like {"error": {"code", "message"}} - see Errors and status codes.