Skip to main content
DELETE
Delete Document

Authentication & Scope

Requires the sessions-write ability.
Deleting a document will also remove its chunks and any extraction data derived from it.

Request

Path Parameters

Response

204 No Content – Document successfully deleted. 404 Not Found – Document does not exist or you don’t have access.

Authorizations

Authorization
string
header
required

Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.

Path Parameters

documentId
string<uuid>
required

Response

Deleted