# Deactivate short link
URL: /docs/api-reference/short-links-analytics/deleteShortLink

## DELETE `/api/v1/public/shortlinks/{id}`

**Summary:** Deactivate short link
**Operation ID:** `deleteShortLink`

**Authentication:** `X-Api-Key: sk_live_...` or `Authorization: Bearer sk_live_...`

### Parameters

| Name | In | Required | Description |
| :--- | :--- | :--- | :--- |
| `id` | `path` | Yes |  |

### Responses

- **`200`**: Short link deactivated and slug removed from cache

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "example": "success"
    },
    "message": {
      "type": "string",
      "example": "Short link deactivated"
    }
  }
}
```
- **`401`**: Authentication failed or API key missing