To cancel a user account, all we need to know is the name of the user, which is the equivalent to the username for the account, and the drush user-cancel command.
For example, to cancel the new user we created previously, open a terminal window and enter the following command:
drush user-cancel editor

While executing this command, we will be prompted to verify that we want to cancel the account; we can choose yes to complete the action.