---
title: "Delete share link by id"
method: DELETE
path: "/shares/{id}"
tags: ["Share Management"]
---

# Delete share link by id

`DELETE /shares/{id}`

Delete a share with the specified id.

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `404` — Not Found

## Changes

- **2024-10-03** `682d4cb5d0dc` — 1 warning
  - changed the pattern of the `path` request parameter `id` from `^[a-z]{3}-[a-z]{3}-[a-z]{3}$` to `^[a-z]{4}-[a-z]{4}-[a-z]{4}$`
- **2024-10-02** `c9062e3a3c54` — 1 warning
  - changed the pattern of the `path` request parameter `id` from `^[a-z]{4}-[a-z]{4}-[a-z]{4}$` to `^[a-z]{3}-[a-z]{3}-[a-z]{3}$`
- **2024-10-02** `936529d30a41` — 1 warning
  - changed the pattern of the `path` request parameter `id` from `^[a-z]{3}-[a-z]{3}-[a-z]{3}$` to `^[a-z]{4}-[a-z]{4}-[a-z]{4}$`
- **2024-06-04** `578e8efc5755` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/shares/:id/delete.md)

---

[API](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pai-os/personal-artificial-intelligence-operating-system-pai-os-api/revisions/3c144b366e19/schema)
