Viso.li

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_api_your_api_key on every request. See authentication.

Path parameters

FieldTypeDescription
slugstringRequired. Public slug of the shortened link.

Example request

1curl -X DELETE https://www.viso.li/api/link/abc123 \
2 -H "Authorization: Bearer sk_api_your_api_key"

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.