def batch_delete_indexes(index_names: List[str], marqo_config: config.Config = Depends(get_config)):
    """An internal API used for testing processes. Not to be used by users."""
    marqo_config.index_management.batch_delete_indexes_by_name(index_names=index_names)
    return JSONResponse(content={"acknowledged": True,
                                 "index_names": index_names}, status_code=200)
An internal API used for testing processes. Not to be used by users.
src/marqo/tensor_search/api.py