---
title: "Delete links"
method: DELETE
path: "/api/v1/workspace/{workspace_id}/links"
tags: ["Links"]
---

# Delete links

`DELETE /api/v1/workspace/{workspace_id}/links`

Delete one or more links by their IDs. This action is permanent and cannot be undone.

## Path parameters

- `workspace_id` string, required

## Request body

- object — Delete body to delete links
  - `ids` integer[]

## Response `200`

LinksDeleted

- string

## Other responses

- `403` — Forbidden
- `404` — Error

---

[API](https://skmtc.net/linklyhq/apis/linkly-url-shortener-api.md) · [All operations](https://skmtc.net/linklyhq/apis/linkly-url-shortener-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linklyhq/linkly-url-shortener-api/revisions/351c1f004617/schema)
