API Docs

Delete URL

Delete single URL by :SLASHTAG using REST API endpoint: /api/v1/urls/:SLASHTAG
DEPRECATED: /api/v1/urls/:ID

Example: If you want to delete short url "t2m.io/ABC1234".
Endpoint: /api/v1/urls/ABC1234

Request

Parameter Type Position # Description
apikey string Header Required Enter your 20-characters unique api key.
apisecret string Header Required Enter your 12-characters unique api secter.
Content-Type string Header Required application/json

Response

{
    "status": 200,
    "message": "ok",
    "data": {
        "rows_deleted": 1
    }
}
											
{
    "status": 400,
    "message": "Bad request. URL slashtag is invalid or missing.",
    "data": {
        "rows_deleted": 0
    }
}
											
{
    "status": 404,
    "message": "Not found. URL with specified slashtag might already be deleted or doesn't exist.",
    "data": {
        "rows_deleted": 0
    }
}