def delete_all_docs(self, schema: str) -> DeleteAllDocumentsResponse:
        """Deletes all documents in the given index"""
        try:
            resp = self.http_client.delete(f'{self.document_url}/document/v1/{schema}'
                                           f'/{schema}/docid/?cluster={self.content_cluster_name}&selection=true')
        except httpx.HTTPError as e:
            raise VespaError(e) from e

        self._raise_for_status(resp)
        return DeleteAllDocumentsResponse(**resp.json())
Deletes all documents in the given index
src/marqo/vespa/vespa_client.py