Thanks for posting your question in the Microsoft Q&A forum.
To delete all documents in an Azure Cognitive Search index, I would use the delete_index method provided by the SDK.
Deletes a search index and all the documents it contains. The model must be provided instead of the name to use the access conditions.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **