This script will allow you to automate the deletion of an username from Cisco IOS device.
It will show you the output of each connection and username deletion while its being executed, if the username that you want to delete doesn't exists in the destination IP address, the script will stop and give you an error.
Enabling logging is optional but recommended.