Delete a Template

Delete a template allows you to delete a template from your account.

Editing a template is not possible, so in order to change a template, you need to create a new one (and delete the old one if you wish)

More Remarks

  • You can not use the same template name twice (when creating a template), even for a deleted template.


Settings:

URL

https://api.99digital.co.il/whatsapp/v2/deleteTemplate

Method

JSON via POST


Body:


Parameter

Description / Example

Mandatory

apiKey

Your API key for the service

yes

from

your WhatsApp account. international number without +. for example: 972771234567

yes

name

the template name you want to delete

yes


Response:


{
"status": "OK",
"name": "template_name",
"reason": 1
}


Response-Explain:

Parameter

Description

status

OK or FAIL

name

template name

reason

'reason' is the status explanation in case of FAIL

1

not FAIL. the status is OK

2

Your "from" number account does not exist

3

wrong apiKey

4

template name does not exist

6

WhatsApp error

7

This template can't be deleted