---
title: "Delete a document"
method: DELETE
path: "/documents/{id}"
tags: ["Documents"]
---

# Delete a document

`DELETE /documents/{id}`

## Request

- Base URL: `https://dataroom.corgi.com/api/v1`
- URL: `https://dataroom.corgi.com/api/v1/documents/{id}`
- Auth: HTTP bearer

Soft-delete (moves to trash; recoverable in the app for 30 days). Share links for it stop resolving. Scope: `documents:write`.

## Path parameters

- `id` string, required

## Response `200`

Moved to trash

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/corgi/apis/dataroom-api.md) - [All operations](https://skmtc.dev/corgi/apis/dataroom-api/llms.txt) - [OpenAPI document](https://skmtc.dev/corgi/apis/dataroom-api/revisions/73f75ef04a00?raw)
