Return cPanel accounts with server name and type

This function returns the system's cPanel accounts and the linked cPanel & WHM server on which they exist.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/list_user_child_nodes
Request samples
whmapi1 --output=jsonpretty \
  list_user_child_nodes
Response samples
application/json
{
  • "data": {
    • "payload": [
      • {
        • "alias": "MailServer1",
        • "type": "Mail",
        • "user": "username1"
        }
      ]
    },
  • "metadata": {
    • "command": "list_user_child_nodes",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}