API Docs

Delete URL

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

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
id string Body Required URL ID (int)

Response

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