Description

This function displays the server's cPanel & WHM version.

Examples 


http:s//hostname.example.com:2087/cpsess##########/json-api/version
https://hostname.example.com:2087/cpsess##########/xml-api/version
whmapi0 version

{
  "version": "11.38.0.9999"
}
<version>
    <version>11.38.0.9999</version>
</version>

Parameters

This function does not accept parameters.

Returns

ReturnTypeDescriptionPossible valuesExample
versionstringThe server's version of cPanel & WHM.A version of cPanel & WHM.11.38.0.9999