---
title: "Delete Document"
method: DELETE
path: "/v1/documents/{document_id}"
tags: ["agent-protocol"]
---

# Delete Document

`DELETE /v1/documents/{document_id}`

## Request

- Base URL: `https://api.app.membase.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.membase.ai/v1/documents/{document_id}`
- Auth: none declared

Remove one document everywhere. Full access only: without `confirm=true` the answer
is a request (`status: confirmation_required`); with it, a developer key deletes.

## Path parameters

- `document_id` string, required

## Query parameters

- `confirm` boolean: Developer keys: true to delete.

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error
- `default`: Error envelope (ADR 0027)

---

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