Account Management

Return root and cPanel accounts

This function lists the cPanel user accounts and the root user on the server.

get/list_users

Request

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

Response

HTTP Request was successful.

Example response

{
  "data": {
    "users": [
      "example",
      "root"
    ]
  },
  "metadata": {
    "command": "list_users",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

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