---
title: "Delete Document Share Link"
method: DELETE
path: "/v1/documents/{id}/shares/shareLinks/{shareLinkId}"
tags: ["Documents Sharing"]
---

# Delete Document Share Link

`DELETE /v1/documents/{id}/shares/shareLinks/{shareLinkId}`

Deletes a share link on a document. This endpoint will only delete share links that were created by the same OAuth2.0 client making the request.

## Path parameters

- `id` string, uuid, required
- `shareLinkId` string, required

## Response `204`

No Content if the share link was deleted successfully.

## Other responses

- `403` — Forbidden if the app making the request does not have permission to the document, or if the document has been deleted, or does not exist.
- `404` — Not Found if the share link id with the specified document id does not belong to the document, does not exist, or the requesting app did not create the share link.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
