Server Administration
Server Nodes

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.

get/list_user_child_nodes

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Response

HTTP Request was successful.

Example response

{
  "data": {
    "payload": [
      {
        "alias": "MailServer1",
        "type": "Mail",
        "user": "username1"
      }
    ]
  },
  "metadata": {
    "command": "list_user_child_nodes",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.