This function lists suspended accounts on the server.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ listsuspended
{- "data": {
- "account": [
- {
- "is_locked": 0,
- "owner": "root",
- "reason": "Suspended for nonpayment.",
- "time": "Thu Nov 18 10:34:34 2014",
- "unixtime": 1416306874,
- "user": "username"
}
]
}, - "metadata": {
- "command": "listsuspended",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}