Skip to main content

Delete message template

GET https://www.lightsms.com/external/get/del_template.php

Delete an existing SMS message template.

Use this endpoint to remove templates that are no longer needed.

Authorization​

This endpoint requires authentication using login, signature, and timestamp parameters.

See the Authentication documentation for more details.

Parameters​

Query Parameters​

NameTypeRequiredDescription
loginstring✓Your LightSMS account login
signaturestring✓Request signature for authentication
timestampstring✓UTC timestamp of the request
id_templatestring✓ID of the template to delete
returnstringResponse format (json or xml)

Example​

Request​

GET https://www.lightsms.com/external/get/del_template.php?login=JohnDoe&signature=abc123&id_template=12345&timestamp=1761188934&return=json

Response​

{
"status": "deleted",
"template_id": "12345"
}

AUTHORIZATION: HTTP

REQUEST

Base URL
https://www.lightsms.com
Query Parameters
loginREQUIRED
Your LightSMS account login
signatureREQUIRED
Request signature for authentication
nameREQUIRED
Template name to delete
timestampREQUIRED
UTC timestamp of the request
return
Response format (json or xml)

RESPONSE

Template deleted successfully
{
"result": "deleted"
}