def METHOD_NAME():
    global labs
    keys = []
    for lab in list(labs.values()):
        try:
            lab.destroy()
            keys.append(lab.lab_id)
        except Exception as ex:
            logger.exception(ex)
    labs = {}
    return jsonify(keys)