PutServerLicense
Registers a license on a specific server via Qlik Enterprise Manager.
Required User Role: See Required Enterprise Manager permissions.
Syntax
public void PutServerLicense(
string payload,
string server
);
Parameters
Parameter | Type | Description |
---|---|---|
payload |
string |
The license to register on the server [stream]. This is the license that was provided by your Qlik Sales Representative. Expected format: Text or JSON. |
server | string | The name of the server. |
Return values
N/A
Errors
All of the general errors as well as the errors listed in the table below.
Error | Message | Description |
---|---|---|
AEM_PUT_SRV_LIC_INNER_ERR |
Failed to put license for server "{server}". Error: "{message}" |
Returned if Qlik Enterprise Manager encounters an error/exception when trying to register the license on the specified server. |
AEM_SRV_LIC_INVALID_FORMAT |
The license file format is corrupt. |
Returned when the contents of the license file are invalid. |