Login as Root User and run the following command, below command will delete the user from the system.
sudo userdel USER-NAME
However the above command will keep the user’s home directory. If you also want to delete user’s home directory along with the user the use the following command.
sudo deluser -r USER-NAME