This function lists locked accounts on the server. Only WHM users with
root
-level privileges can unsuspend locked accounts.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ listlockedaccounts
{- "data": {
- "account": [
- "account1",
- "account2"
]
}, - "metadata": {
- "command": "listlockedaccounts",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}