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.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  get_current_lts_expiration_status

Response samples

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