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​
| Name | Type | Required | Description |
|---|---|---|---|
login | string | ✓ | Your LightSMS account login |
signature | string | ✓ | Request signature for authentication |
timestamp | string | ✓ | UTC timestamp of the request |
id_template | string | ✓ | ID of the template to delete |
return | string | Response format (json or xml) |
Example​
Request​
GET https://www.lightsms.com/external/get/del_template.php?login=JohnDoe&signature=abc123&id_template=12345×tamp=1761188934&return=json
Response​
{
"status": "deleted",
"template_id": "12345"
}
AUTHORIZATION: HTTP
REQUEST
Base URL
https://www.lightsms.com
Query Parameters
loginREQUIREDYour LightSMS account login
signatureREQUIREDRequest signature for authentication
nameREQUIREDTemplate name to delete
timestampREQUIREDUTC timestamp of the request
returnResponse format (json or xml)
RESPONSE
Template deleted successfully
{
"result": "deleted"
}