Delete Template

Use the Delete Template API to delete a WhatsApp Business template by template name.

Endpoint details

FieldValue
URLhttps://apis.rmlconnect.net/wba/template/
Authorizationjwt
API Keyjwt
Header parameter nameAuthorization

Query parameters

ParameterRequiredTypeDescription
nameYesstringName of the WhatsApp business template.

Responses

200 Success

Response

{
  "success": true
}

Response Schema: application/json

FieldTypeDescription
successbooleanIndicates whether the template delete request is successful.
401 Unauthorized

Response

{
  "message": "unable to process campaign request",
  "reason": "jwt token expired",
  "status": "failure"
}

Response Schema: application/json

FieldTypeDescription
statusstringThe status of the delete template request.
messagestringThe response message.
reasonstringThe reason for not processing the delete template request.
404 Not Found

Response

{
  "message": "template not found"
}

Response Schema: application/json

FieldTypeDescription
messagestringThe response message.
500 Internal Server Error

Response

{
  "status": "failure",
  "message": "unable to process request",
  "reason": "internal server error"
}

Response Schema: application/json

FieldTypeDescription
statusstringThe status of the delete template request.
messagestringThe response message.
reasonstringThe reason for not processing the delete template request.


Did this page help you?