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.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  get_update_availability

Response samples

Content type
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
    }
}