Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning centerGet Controller Id
The Get Controller Id returns the unique machine ID of the Controller machine. The licenses are tied up with this machine ID.
http://{controllerMachine}:{controllerPort}/api/v4/license/controllerId
curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v4/license/controllerId'
$headers = @{}
$headers.Add("AccessKey","Mo87Nc4qDAtzJNDb")
Invoke-WebRequest -Uri "http://{controllerMachine}:{controllerPort}/api/v4/license/controllerId" -ContentType "application/json" -Headers $headers -Method GET
List of variables:
[ { "$id": "1", "ControllerId": "LTUY6zgyNzExODhD" } ] |
Field | Type | Description | Values |
---|---|---|---|
ControllerId | String | Unique controller machine ID |
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.