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
| Field | Type | Description |
|---|---|---|
slug | string | Required. 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
| Status | Error | Description |
|---|---|---|
| 401 | Unauthorized | Missing, malformed, or invalid Bearer token. |
| 404 | Not Found | The slug does not exist or does not belong to you. |
| 429 | Too Many Requests | More than 10 requests per minute and 50 requests per day. Some responses include a Retry-After header. |
| 500 | Internal Server Error | Unexpected server error. Retry the request. |