def cluster_delete_post(cluster_id): cluster_id = int(cluster_id) Cluster.delete_one(cluster_id) return jsonify(msg='')