In certain circumstances, there are situations where you might want to suspend an account. For any reason, it can be done in a few ways. Either from the WHM or through the command line.
WHM: Home » Account Functions » Manage Account Suspension
Here you can suspend and unsuspend accounts on your server. For example, you may wish to temporarily disable delinquent accounts.
Command Line: WHM API 1 Functions - suspendacct
This function can be used via the Command line to assist with Suspension. It denies the user access to the account.
whmapi1 suspendacct user=username reason=Nonpayment leave-ftp-accts-enabled=0
For more information about the effects of account suspension, read our What Happens When You Suspend an Account article.
You can also reference our documentation for more parameters: