Skip to main content Skip to complementary content

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

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.
Currently refers to the Replicate license only.

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 responses
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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!