Return if server uses the default update version

This function checks whether your server uses the latest version of cPanel & WHM for your release tier.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_update_availability
Request samples
whmapi1 --output=jsonpretty \
  get_update_availability
Response samples
application/json
{
  • "data": {
    • "current_version": "88.0.12",
    • "newest_version": "88.0.12",
    • "tier": "current",
    • "update_available": 0
    },
  • "metadata": {
    • "command": "get_update_availability",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}