---
title: "Remove a document from the caller's \"shared with you\" list."
method: DELETE
path: "/shared/{documentId}"
tags: ["Sharing"]
---

# Remove a document from the caller's "shared with you" list.

`DELETE /shared/{documentId}`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/shared/{documentId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Owner-Id`

## Path parameters

- `documentId` string, required

## Response `200`

Success.

## Other responses

- `401`: Error.
- `429`: Rate limited. Back off and retry.

---

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