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.
Navigate to WHM. From the sidebar, navigate to Account Functions > Manage Account Suspension.
From this interface, you can suspend and unsuspend accounts on your server. For example, you may wish to temporarily disable delinquent accounts.
From the Command Line
The WHM API 1 Function "suspendacct" 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: