---
title: "Delete a link"
method: DELETE
path: "/links/{slug}"
tags: ["Links"]
---

# Delete a link

`DELETE /links/{slug}`

## Request

- Base URL: `https://putit.online/api/v1`
- URL: `https://putit.online/api/v1/links/{slug}`
- Auth: one of:
  - none
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://putit.online/oauth/authorize`, token URL `https://putit.online/oauth/token`, scopes: `links:read`, `links:write`, `account:read`)

Permanently delete a link and its files. Owners or holders of the manage token (X-Manage-Token).

## Path parameters

- `slug` string, required

## Headers

- `X-Manage-Token` string

## Response `200`

OK

- object
  - `slug` string, required
  - `deleted` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Authorization required or token invalid
- `402`: Subscription required (see upgrade_url)
- `403`: Blocked: VPN/proxy, banned uploader or missing scope
- `422`: Rejected by the safety check
- `429`: Rate limited (see Retry-After)

---

[API](https://skmtc.dev/putit/apis/put-it-online-api.md) · [All operations](https://skmtc.dev/putit/apis/put-it-online-api/llms.txt) · [OpenAPI document](https://skmtc.dev/putit/apis/put-it-online-api/revisions/a0c9fe8d4301?raw)
