Documentation

API reference

Create links, read click statistics and manage campaigns from your own systems.

Command Palette

Search for a command to run...

Pages

Delete Link

DELETEhttps://www.viso.li/api/link/:slug

Deletes one short link you own. The slug stops redirecting. This does not remove a campaign that was using the link.

Send Authorization: Bearer sk_user_api_your_api_key on every request. See authentication.

Path parameters

slugstringrequired
Public slug of the shortened link.

Success response

Returns 204 No Content with an empty body.

Errors

StatusErrorDescription
401UnauthorizedMissing, malformed, or invalid Bearer token.
404Not FoundThe slug does not exist or does not belong to you.
429Too Many RequestsMore than 10 requests per minute and 50 requests per day. Some responses include a Retry-After header.
500Internal Server ErrorUnexpected server error. Retry the request.
1curl -X DELETE https://www.viso.li/api/link/abc123 \
2 -H "Authorization: Bearer sk_user_api_your_api_key"