> ## Documentation Index
> Fetch the complete documentation index at: https://docs.okrapdf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Document

> Permanently delete a document and all associated data.

## Overview

Permanently deletes a document, its extracted content, page images, and exports. This action cannot be undone.

## Request

<ParamField path="id" type="string" required>
  Document ID (e.g. `doc-abc123`) or 6-char short hash.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X DELETE https://api.okrapdf.com/v1/documents/doc-abc123 \
    -H "Authorization: Bearer okra_YOUR_KEY"
  ```
</RequestExample>

### Response (200)

```json theme={null}
{
  "deleted": true,
  "id": "doc-abc123"
}
```
