Requirements: Macintosh running macOS 10.10.X or later (Yosemite); Airport wireless card and software (802.11 compliant)
macOS Setup
How to Forget a Network
To forget a wireless network in macOS (these steps may require administrator privileges):
At the top of your screen, click the Wi-Fi symbol and then select Open Network Preferences.
In the lower right, choose Advanced.
Under “Preferred Networks”, select the Wi-Fi network to be removed.
Click – (the minus sign) to forget the network.
Click OK.