This function lists the cPanel user accounts and the root
user on the server.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ list_users
{- "data": {
- "users": [
- "example",
- "root"
]
}, - "metadata": {
- "command": "list_users",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}