Return cPanel & WHM version

This function returns the cPanel & WHM version that a server runs.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/version
Request samples
whmapi1 --output=jsonpretty \
  version
Response samples
application/json
{
  • "data": {
    • "version": "11.88.0.9999"
    },
  • "metadata": {
    • "command": "version",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}