Delete Document Api
Delete a document and all its associated data.
Args: collection_name: Name of the collection filename: Legacy filename lookup key for backward compatibility
Returns: Deletion result with status, list of deleted doc_ids, and filename
Note: This endpoint prefers file_id or doc_id when provided. The path filename is retained as a compatibility fallback for older clients.
Path parameters
Query parameters
Preferred UploadedFile file_id for document lookup
Preferred UploadedFile file_id for document lookup
Preferred doc_id for document lookup
Preferred doc_id for document lookup
Response
Successful Response
Changes
Changed in 1 of the 4 revisions of this API.2
- ○
added the new optional
queryrequest parameterdoc_idnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterfile_idnew-optional-request-parameter
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○