This function suspends a reseller account.
user required | string <username> The reseller's username. Example: user=username |
disallow | integer Default: 0 Whether to allow only the
Example: disallow=0 |
reason | string The reason for the reseller's suspension. Note: We strongly recommend that you always include a reason for suspension. Example: reason=Nonpayment |
reseller-only | integer Default: 0 Whether to suspend only the reseller account.
Example: reseller-only=0 |
object |
whmapi1 --output=jsonpretty \ suspendreseller \ user='username'
{- "metadata": {
- "command": "suspendreseller",
- "output": {
- "raw": "string"
}, - "reason": "OK",
- "result": 1,
- "version": 1
}
}