This function returns the cPanel & WHM version that a server runs.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ version
{- "data": {
- "version": "11.88.0.9999"
}, - "metadata": {
- "command": "version",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}