This function unsuspends an account.
Note:
Only the root
account and root
-enabled resellers can unsuspend a locked account.
user required | string The account to unsuspend. Example: user=username |
retain-service-proxies | integer Default: 0 Whether to retain any service proxies on an account.
Example: retain-service-proxies=0 |
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ unsuspendacct \ user='username'
{- "metadata": {
- "command": "unsuspendacct",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}