DELETE
/
links
/
{linkId}
curl --request DELETE \
  --url https://api.dub.co/links/{linkId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>"
}

Authorizations

Authorization
string
headerrequired

Default authentication mechanism

Path Parameters

linkId
string
required

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

Query Parameters

workspaceId
string
required

The ID of the workspace.

projectSlug
string
deprecated

The slug of the project. This field is deprecated – use workspaceId instead.

Response

200 - application/json
id
string
required

The ID of the link.