Plesk comes with a limited trial license key which is installed automatically . Therefore, to fully use Plesk as you need, you should obtain a license key from Plesk or one of its resellers and install it to your Plesk.
Once you purchase a Plesk license key at the Plesk online store, you will receive an activation e-mail with your activation code and a license key file. You can install a Plesk license key either by entering the activation code or by uploading the file from this e-mail. In both cases, you should use the lic_install operation. This operation is also used for installing additional license keys that allow using Plesk additional features (add-ons) like Acronis True Image, Kaspersky Antivirus, and so on.
A request XML packet installing license key to Plesk contains the lic_install operation node:
The lic_install node is presented by complex type LicenseInstallType (server_input.xsd) and structured as follows:
The license node is required, in case you install a key using a license key file. It contains the license key data. Data type: base64.
The activation-code node is required, in case you install a key using an activation code. The node is available in XML API 22.214.171.124 and later. It specifies an activation code. Data type: string.
The additional_key node is optional. It specifies if the key that will be installed is an additional key. Data type: none.
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
Response Packet Structure
The lic_install node of the response packet is structured as follows:
The result node is required. It wraps the result of the lic_install operation. Data type: resultType (common.xsd).
The status node is required. It returns the execution status of the lic_install operation defining whether installing key has been successfully started or not. Data type: string. Allowed values: ok | error.
The errcode node is optional. It returns the error code when the lic_install operation fails. Data type: unsignedInt.
The errtext node is optional. It returns the error message if the lic_install operation fails. Data type: string.
This packet installs a license key using a key file (the key content is greatly reduced).
This packet installs a license key using an activation code.
This request packet installs additional license key using a key file (the key content is greatly reduced).