Delete all IP addresses in a given scope from a network interface

ip address

ip address flush dev {{eth0}} scope {{global|host|link}}

click the source code to copy install ip address on any operating system with command-not-found.com