Description

This function verifies the system's license status with cPanel, Inc.'s licensing servers.

 To do this, the function runs the /usr/local/cpanel/cpkeyclt script.

For more information about this script and potential license problems, read our Installation Guide - Troubleshoot Your Installation documentation.

Examples  




https://hostname.example.com:2087/cpsess##########/json-api/run_cpkeyclt?api.version=1




https://hostname.example.com:2087/cpsess##########/xml-api/run_cpkeyclt?api.version=1




whmapi1 run_cpkeyclt



{
  "metadata": {
    "version": 1,
    "reason": "OK",
    "result": 1,
    "command": "run_cpkeyclt"
  }
}




<result>
    <metadata>
        <version>1</version>
        <reason>OK</reason>
        <result>1</result>
        <command>run_cpkeyclt</command>
    </metadata>
</result>



Parameters

This function does not accept parameters.

Return

This function only returns metadata.