Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning centerActivate License
Activate License returns recently activated licenses on the controller. The returned licences will give access to LicenseId, DateActivated, ExpireDays, and LicenseType.
http://{controllerMachine}:{controllerPort}//api/v3/license/activate
Field | Type | Description | Comments |
---|---|---|---|
force | true/false | If force is true, active license will be replaced by this one (in case when you want to replace trial license). | |
License |
string | Base64 string that represents license |
curl -X PUT --header 'Accept: text/plain' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v3/license/activate?force=true'
$headers = @{}
$headers.Add("AccessKey","123qwe")
Invoke-WebRequest -Uri "http://autobotvm001:9001/api/v3/license/activate?force=true" -ContentType "text/plain" -Headers $headers -Method PUT
List of variables:
[ { "$id": "1", "LicenseId": "5d13fce3-2233-167f-10db-ba9c8c378b4f", "DateActivated": "2019-08-07T12:01:52+00:00", "ExpireDays": 251, "LicenseType": "Trial" } ] |
Field | Type | Description | Values |
---|---|---|---|
$LicenseId | String | Unique license ID | |
DateActivated | Date | Date of license activation | |
ExpireDays | Integer | Days remaining for licence | |
LicenseType | string | Type of license | Trial/Platform etc. |
List of responses:
200 (OK)
401 (Unauthorized, incorrect access key)
400 (Incorrect parameter 'folder' key or its value)
409 (API Returns 409 error, If ItemId cannot create folder or ItemId already contains folder item with the same title or ItemId already contains same hierarchy)
500 (Internal Server Error)
©2024, Leapwork. All rights reserved.