pmm-admin has a purge command. Run this (possibly a few times, it can time out with a lot of data accumulated in prometheus). Then deregister with pmm-admin remove, pmm-admin uninstall. That will result in the machine no longer showing up in the PMM web interface.
Then configure it as a new node with a new name with pmm-admin.
Or you can skip the purge part and wait for the data to naturally expire.