from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.links.delete(link_id="<id>")
# Handle response
print(res){
"id": "<string>"
}Delete a link for the authenticated workspace.
from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.links.delete(link_id="<id>")
# Handle response
print(res){
"id": "<string>"
}Default authentication mechanism
The id of the link to delete. You may use either linkId (obtained via /links/info endpoint) or externalId prefixed with ext_.
The deleted link ID.
The ID of the link.
Was this page helpful?