HTTP(s) – Delete messages
If you submit a message id while sending the message, it is possible to delete the message again using a https request.
Call https://api.suresms.com/script/DeleteSMS.aspx with the following parameters:
Login, password and messageid
Login | Your SureSMS account login | Mandatory |
Password | Your SureSMS account password | Mandatory |
Messageid | The message id of the message, you want to delete. This must be the same unique message id, as you submittet as the message was being sent. | Mandatory |
Note: The parameters are NOT case senstive.
Example :
If your SureSMS account is "XXX” and your code is 8r7e3.
If you want to delete a message with the message id 435345, you must write this in your browser:
https://api.suresms.com/script/DeleteSMS.aspx?login=XXX&password=8r7e3&messageid=435345