FruxonDocs
IntegrationsAssets

Deletes a document and its chunks from the knowledge base.

Removes the document and every chunk produced from it from the asset's vector and full-text indices. The next search against the asset will no longer surface this content. The original source is untouched, so a subsequent `POST /assets/{asset}:refresh` (without a `documentIds` filter) will re-ingest the document. Idempotent at the API surface: deleting an already-removed document returns 404.

DELETE
/v1/tenants/{tenant}/assets/{asset}/documents/{document}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

asset*string

The asset ID.

Formatuuid
document*string

The document ID.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X DELETE "https://api.fruxon.com/v1/tenants/string/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}