Skip to main content
DELETE
https://api.linquid.io
/
links
/
{id}
Delete Link
curl --request DELETE \
  --url https://api.linquid.io/links/{id} \
  --header 'Authorization: Bearer <token>'

Delete Link

Delete a link. This is a soft delete - the link is marked as deleted but data is retained for analytics.

Request

curl -X DELETE https://api.linquid.io/links/link_abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"

Path Parameters

ParameterTypeDescription
idstringLink ID

Response

{
  "success": true,
  "data": {
    "id": "link_abc123",
    "deleted": true
  }
}

Behavior

  • The short code is immediately released for reuse
  • Analytics data is preserved
  • The link returns 404 when accessed
  • Associated rules are also soft-deleted

Errors

Not Found

{
  "success": false,
  "error": {
    "code": "NOT_FOUND",
    "message": "Link not found"
  }
}

Already Deleted

{
  "success": false,
  "error": {
    "code": "ALREADY_DELETED",
    "message": "Link has already been deleted"
  }
}

Permanent Deletion

To permanently delete a link and all associated data, contact support. Permanent deletion removes:
  • All click data
  • All conversion data
  • All associated rules
  • QR codes
Permanent deletion cannot be undone.