How to cleanly uninstall Influxdb enterprise

I’m using CentOS. After I used yum that entirely uninstalled and re-installed Influxdb Enterprise, the old cluster information is still there. If I use “influxd-ctl show”, it still shows this node is part of a cluster.

How can I entirely erase the cluster information? I need a clean node.

Thanks.