pem.installPleskLicense

This method is supported by Operations starting from version 2.6.5

This method allows to install Plesk license or license of service managed by Plesk.

Name

Type

Short Description

subscription_id

int

The ID of the Subscription, which Plesk in VPS is provisioned under.

license

base64

The content of the license.

[async]

boolean

Whether to perform license installation asynchronously. There are the following options:

  • 0 – Install a license synchronously.
  • 1 – Install a license asynchronously.

If parameter is not set, 0 (false) value is used by default.

Note: If Operations is integrated with Billing and the method is executed asynchronously, then Operations notifies Billing about the result of installing a license using Billing Public API (Operations does not check that Billing is a caller of this method). If you wish to install a license using this method directly (not through Billing control panel), execute it synchronously (async = 0).

[is_addon]

boolean

Defines the type of the license:

  • 0Plesk license.
  • 1 – License of service managed by Plesk.

If parameter is not set, 0 (false) value is used by default.

This method has no output parameters.