How to delete a cPanel from WHM

Removing an existing cPanel account is a very quick and easy operation, but be warned this move is permanent and you cannot undo this once removed. Please only proceed if you have taken any necessary backups, moved any full cPanel backups to another server and you are absolutely certain that you would like to permanently remove an account.

How To Delete a cPanel Account From WHM

 

  1. When logged into WHM, simply type in the word “terminate” and choose the Terminate Accounts module
    • You can also find Terminate Accounts in the Account Functions section
  2. From there you will see your accounts
  3. Simply click the red Remove box to the right of the account
  4. If you have multiple accounts you wish to remove, then just click their respective checkboxes and click the red Remove selected accounts button at the top of the page

 

How To Delete a cPanel Account From SSH

You can also terminate an account using SSH/command line if needed using the following script. Make sure to replace [username]  with the cPanel username in the examples below:

OPTIONS

force Bypass the confirmation step in the script and immediately terminate the account.
Example: /scripts/removeacct [username] --force 

keepdns Keep the account’s zone files in the DNS server when the script terminates the account.
Example: /scripts/removeacct [username] --keepdns 

 

This entry was posted in   WHM.
Bookmark the   permalink.

Share:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.