> ## 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

**id** `string` *required*

Document ID (e.g. `doc-abc123`) or 6-char short hash.

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

### Response (200)

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.