Deleting a Txtly

One must have a txtly id to delete it from database. Here is an API to delete a Txtly link:

curl -X GET \
'<BASE_URL>&method=txtly&task=delete&id=31xx&app=1'

API Parameter Specifications

The API parameter specifications are described in the following sections.

Mandatory Parameters

The mandatory parameters in the HTTP API are tabulated below:

Parameter Description Expected Values
URL URL of your SMS Service URL
method Predefined method txtly
task Task to be performed on txtly delete
id id of the txtly 123
app Application reference 1

Optional Parameters

The Optional parameters in the HTTP API are tabulated below:

Parameter Description Expected Values
format Output format should be as specified by this variable XML/PHP/JSON/JSONP. Default response will be in JSON

Example Responses

JSON

{ 
    "status": "OK",
    "message": "Deleted successfully..", "data": [ ]
} 

Error Response

{
    "status": "ERROR",
    "message": "Id entered not exits with this api user", "data": []
}

Response Data

Field Description
status It indicates the success or failure of your request.
message It indicates the success or failure message.
data All the responses is wrapped inside data