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 Campaign

DELETEhttps://www.viso.li/api/campaign/:id

Deletes one campaign you own. The short links that were attached stay in your account.

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

Path parameters

idstringrequired
The campaign UUID.

Success response

Returns 204 No Content with an empty body.

Errors

StatusErrorDescription
400Bad RequestThe campaign id is not a valid UUID.
401UnauthorizedMissing, malformed, or invalid Bearer token.
403ForbiddenCampaigns are not available on the current plan.
404Not FoundNo campaign with that id belongs 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/campaign/3f1c0c2a-7b4e-4d91-9c2a-1b8e6f0d2a11 \
2 -H "Authorization: Bearer sk_user_api_your_api_key"