Links & QR codes

Delete a short link

links_delete · Deletes data · Markdown

Deletes a short link for good; its code never opens anything again.

Free

This tool costs nothing to call.

An example

Delete the short link from last year's summer flyer.

Your agent callslinks_deleteFree

The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.

With these arguments
{
  "code": "summer-sale"
}
What comes back
{
  "deleted": "summer-sale"
}

Use it when

A link should stop working forever. To stop it for a while, pause it with links_update.

What it does

Delete a short link for good. Its code stays retired, so it never opens anything again.

What comes back

deleted: the code. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
codeRequiredstringThe code after cncto.co/, e.g. "x7Kp2Qa". 3 to 40 characters.

The call

Over MCP, call links_delete on https://api.conecto.chat/mcp/links. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/links_delete \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code":"summer-sale"}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404No short link of the business has that code.Call links_list and use one of its codes.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md