def delete_documents(config: Config, index_name: str, doc_ids: List[str]):
    """Delete documents from the Marqo index with the given doc_ids """
    # Make sure the index exists
    marqo_index = index_meta_cache.get_index(index_management=config.index_management, index_name=index_name)

    return delete_docs.delete_documents(
        config=config,
        del_request=MqDeleteDocsRequest(
            index_name=index_name,
            schema_name=marqo_index.schema_name,
            document_ids=doc_ids,
        )
    )
Delete documents from the Marqo index with the given doc_ids 
src/marqo/tensor_search/tensor_search.py