Return Long Term Support expiration status

This function determines whether a branch's Long-Term Support (LTS) version expires within three months. For more information about LTS, read our cPanel Long-Term Support documentation.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_current_lts_expiration_status
Request samples
whmapi1 --output=jsonpretty \
  get_current_lts_expiration_status
Response samples
application/json
{
  • "data": {
    • "expiration": 1585612801,
    • "expires_in_next_three_months": 0,
    • "full_version": "11.88.1.11"
    },
  • "metadata": {
    • "command": "get_current_lts_expiration_status",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}