def delete_docs(index_name: str, documentIds: List[str],
                marqo_config: config.Config = Depends(get_config)):
    """
    Delete documents identified by an array of their IDs. Please refer to
    [Delete documents API](https://docs.marqo.ai/latest/reference/api/documents/delete-documents/) for details.
    """
    return tensor_search.delete_documents(
        index_name=index_name, config=marqo_config, doc_ids=documentIds
    )

    Delete documents identified by an array of their IDs. Please refer to
    [Delete documents API](https://docs.marqo.ai/latest/reference/api/documents/delete-documents/) for details.
    
src/marqo/tensor_search/api.py