Delete Script
Deletes a script from the database.
Request
Method |
URL |
POST |
/smserver-default/sms.DeleteScript |
RAW |
POST /smserver-default/sms.DeleteScript HTTP/1.1 Cache-Control: no-cache Connection: Keep-Alive Pragma: no-cache Content-Type: application/json; charset=UTF-8 Accept: */* Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[ { "Aid" : "4K4EMVZF2Q6U5GRPQIWCDFS5FA" } ] |
Explained |
Deletes one script from the database.
Payload: Aid: unique ID of the script to be deleted |
Response
Method |
URL |
RAW |
Accept-Encoding: synlz,gzip Content-Type: application/json; charset=UTF-8
{"result":[ { "Result" : 1 } ],"id":772674711} |
Explained |
Result: 1 = success any other value different from 1 = error
ResultMsg: a friendly message (success or error message) explaining what happened |