Return cPanel & WHM version

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

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  version

Response samples

Content type
application/json
{
  • "data": {
    • "version": "11.88.0.9999"
    },
  • "metadata": {
    • "command": "version",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}