Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning centerGet Active Licenses
Get Active License returns all active licenses on the Controller. The returned licences will give access to LicenseId, DateActivated, ExpireDays, and LicenseType licenses.
http://{controllerMachine}:{controllerPort}/api/v3/license/active
curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v3/license/active'
$headers = @{}
$headers.Add("AccessKey","Mo87Nc4qDAtzJNDb")
Invoke-WebRequest -Uri "http://{controllerMachine}:{controllerPort}/api/v3/license/active" -ContentType "application/json" -Headers $headers -Method GET
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. |
Response Code
List of response codes:
200 (OK)
404 (Not Found)
401 (Unauthorized)
400 (Bad Request)
500 (Internal Server Error)
©2024, Leapwork. All rights reserved.