Link Deletion API
Permanently delete a short link.
Deleted links cannot be restored, and access is blocked immediately.
Make sure the link is no longer in use before deleting.
For critical links, consider using branded links (custom link IDs) that can be recreated if needed.
Use this API to remove unused links or restrict access when required.
DELETE
/api/link/v1/delete?linkId={linkId}&domain={domain}
DELETE /api/link/v1/delete
?linkId=4Rt3
&domain=https%3A%2F%2Fvvd.bz
Request Parameters
- linkId string required
-
Link ID.
If the URL is “https://vvd.bz/fML”, the link ID is fML. - domain string required
- Default:https://vvd.bz
- Link domain.
{
"code": 0,
"message": "",
"result": null
}
Response Parameters
- code integer
- Response code: 0 = Success, other values = Error
- message string
- Response message. If the response code is not 0, an error message is returned.
- result null
When to Use This API
Use the Link Deletion API in scenarios like these:
- Clean up links from completed events or campaigns
- Remove links created by mistake
- Immediately disable links that must no longer be accessible for security reasons
- Keep your account organized by removing unused links
If you only need to change the destination, use the Link Update API (Update API) instead of deleting.
Differences from the Update API
The Deletion API removes a link entirely, while the Update API modifies it.
- Delete: The short link is permanently removed. Accessing it returns an error page, and it cannot be restored.
- Update: The link remains active while only the destination URL or settings are changed. Existing shared links continue to work.
Deletion Impact
Deleting a link has the following impact:
- The short URL is disabled immediately
- Accessing the link returns an error or no page
- Access to related analytics may be restricted
- All previously shared links become invalid
Things to consider
Deletion is permanent—review these before proceeding.
- Confirm that
linkIdanddomainare correct - Deleted links cannot be restored
- For critical links, use
brandLinkIdto create custom IDs you can recreate if needed - Evaluate the impact carefully before bulk deletions