How to Delete a cPanel Account From SSH

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

/scripts/removeacct [username] [options]
1
/scripts/removeacct [username] [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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change a database password on cPanel?

Changing MySQL database password via cPanel You can change your database’s password by...

How can I change my PHP version on cPanel?

Changing PHP version via cPanel Your Hosting Account's PHP version can be changed at any time,...

How can I create a new MySQL database in cPanel?

Creating a new MySQL database at Servers GATE using cPanel   You can easily create a new MySQL...

How can I locate my MySQL database details on cPanel?

Locating your MySQL database details via cPanel You can easily locate your MySQL databases...

How can I set up a redirect on cPanel?

Creating a redirect on cPanel Your hosting redirects can be easily managed with the assistance...