Skip to main content
DELETE
/
projects
/
{project_reference}
/
rag
/
documents
/
{documentId}
Delete a RAG document
curl --request DELETE \
  --url https://api.veryfront.com/projects/{project_reference}/rag/documents/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true
}

Documentation Index

Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project ID or slug.

documentId
string<uuid>
required

RAG document ID to delete.

Response

Deletion result.

deleted
boolean
required

Whether the document was deleted.