Skip to main content

Authentication

This endpoint requires authentication using a Bearer token.
Authorization: Bearer <token>

Endpoint

method
string
required
DELETE
endpoint
string
required
/links/:linkId

Path Parameters

The id of the link to delete. You may use either linkId (obtained via /links/info endpoint) or externalId prefixed with ext_.

Response

id
string
The ID of the deleted link.
curl -X DELETE "https://api.dub.co/links/clux0rgak00011..." \
  -H "Authorization: Bearer <token>"
{
  "id": "clux0rgak00011..."
}

Build docs developers (and LLMs) love