quecto

Delete shortened URL

Delete a shortened link with a delete token

DELETE
/{short_code}
/{short_code}

Request Body

application/jsonRequired

Delete a shortened link with a delete token

tokenstring

Delete token of the shortened link

Path Parameters

short_code
Required
string

Shortened link short code

curl -X DELETE "https://s.oriondev.fr/api/string" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "6efa07a53cb50369df12de7e1ad57d1d82dd3ac0bca734567900feb23691ac30"
  }'

Link has been successfully deleted.

{
  "status": 200,
  "message": "Link has been successfully deleted.",
  "data": {
    "short_code": "19449fa041f6480"
  }
}