This function returns the system's cPanel accounts and the linked cPanel & WHM server on which they exist.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ list_user_child_nodes
{- "data": {
- "payload": [
- {
- "alias": "MailServer1",
- "type": "Mail",
- "user": "username1"
}
]
}, - "metadata": {
- "command": "list_user_child_nodes",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}