curl --location 'https://document-query.pyqai.com/delete-document?account_id=ExampleAccountID&index_name=ExampleIndexName&document_source=ExampleDocumentSource' \ --header 'Authorization: ExampleToken' \ --data ''
{ "response": "Successfully deleted document from index" }
This endpoint removes a document from an index.