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 | |
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
|