HTC One (M8) for Windows
Remove Wi-Fi Connection - HTC One (M8) for Windows
Remove Wi-Fi Connection - HTC One® (M8) for Windows
From the Start screen, swipe left to display the Apps list.
(located in the lower-right; may require scrolling to the bottom of the Start screen).
Tap and hold the Wi-Fi network that device is connected to.