Hostwinds Tutorials

Search results for:


Table of Contents


How To Delete a cPanel Account From WHM
How To Delete a cPanel Account From SSH
OPTIONS

How to delete a cPanel from WHM

Tags: cPanel,  WHM 

How To Delete a cPanel Account From WHM
How To Delete a cPanel Account From SSH
OPTIONS

Removing an existing cPanel account is a rapid 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 are certain that you would like to remove an account permanently.

How To Delete a cPanel Account From WHM

  1. When logged into WHM, 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. Click the red Remove box to the right of the account
  4. If you have multiple accounts you wish to remove, then 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 the SSH/command line if needed using the following script. Make sure to replace [username]  with the cPanel username in the examples below:

/scripts/removeacct [username] [options]

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

Written by Hostwinds Team  /  April 10, 2018