Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getList ShortlinksgetGet ShortlinkpostCreate ShortlinkputUpdate ShortlinkdelDelete ShortlinkgetGet Shortlink ClicksgetGet Shortlink Clicks CountgetGet Top Shortlinks
Shortlinks

Delete Shortlink

View as MarkdownAgent setup

Deletes a short link. The hostname and path stop resolving. Click history already recorded stays in analytics.

DELETE
/projects/{projectId}/shortlinks/{shortlinkId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the short link.

shortlinkIdrequiredstring

ID of the short link to delete.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/projects/string/shortlinks/string"
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "destinationURL": "http://example.com",  "shortLinkDomain": "string",  "shortLinkPath": "string",  "projectId": "string",  "domainId": "string"}

Update Shortlink

Updates a short link's destination, domain, or path. Omitted fields stay as they are. A new domain has to be verified and have short links turned on.

Get Shortlink Clicks

Daily click counts for one short link, or for every short link in the project when shortlinkId is omitted.