@app.route('/delete', methods=['POST'])
def delete():
    storm_ = app.get_storm()

    try:
        name = request.json['name']
        storm_.delete_entry(name)
        return response()
    except __HOLE__ as exc:
        return jsonify(message=exc.message), 404
    except (TypeError, ValueError):
        return response(status=400)
dataset/ETHPy150Open emre/storm/storm/web.py/delete