---
title: "Stop one of your share links"
method: DELETE
path: "/api/shares/{idOrToken}"
---

# Stop one of your share links

`DELETE /api/shares/{idOrToken}`

## Request

- Base URL: `https://api.peelaway.io`
- URL: `https://api.peelaway.io/api/shares/{idOrToken}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

## Response `200`

Link revoked; original work remains intact

## Other responses

- `401`: Authentication required
- `404`: Not owned or already revoked

---

[API](https://skmtc.dev/peelaway/apis/peelaway-image-api.md) · [All operations](https://skmtc.dev/peelaway/apis/peelaway-image-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peelaway/apis/peelaway-image-api/revisions/8ce45533c9d0?raw)
