This article provides the steps needed to terminate a cPanel account from the command line using the
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command.
/scripts/removeacct $cpusernamePlease note that "$cpusername" must be replaced by the username of the account to remove.
- Confirm that you want to remove the account by typing
Are you sure you want to remove the account "$cpusername", and DNS zone files for the user? [y/N]? y