Suspensions
Return suspended cPanel accounts
This function lists locked accounts on the server. Only WHM users with root-level privileges can unsuspend locked accounts.
get/listlockedaccounts
Request
- Base URLhttps://whm-server.tld:2087/json-api
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"data": {
"account": [
"account1",
"account2"
]
},
"metadata": {
"command": "listlockedaccounts",
"reason": "OK",
"result": 1,
"version": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.