To remove templates, you must provide the template name.
PARAMETER | FORMAT | REQUIRED | DESCRIPTION | DEFAULT |
name | string | Yes | Template name | |
id | string | Optional | Template id |
Sample request using CURL:
$ curl -X DELETE https://api.geniq.io/rest/v1/whatsapp/message_templates \
-H 'Authorization: Bearer [TOKEN]' \
-d "name=template1"
Parameters returned in the API response:
PARAMETER | FORMAT | DESCRIPTION |
responseCode | string | Response code. Possible values: 0: Success 8: Account Invalid Configuration 88: General Failure |
responseMessage | string | Response message |
Sample Response:
{
"responseCode": "0",
"responseMessage": "Success",
"id":"778322986552978"
}