Get Controller Id

Description

The Get Controller Id returns the unique machine ID of the Controller machine. The licenses are tied up with this machine ID. 

Request URL

http://{controllerMachine}:{controllerPort}/api/v4/license/controllerId

Examples

Curl

curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v4/license/controllerId'

PowerShell 

$headers = @{}
$headers.Add("AccessKey","Mo87Nc4qDAtzJNDb")
Invoke-WebRequest -Uri "http://{controllerMachine}:{controllerPort}/api/v4/license/controllerId" -ContentType "application/json" -Headers $headers -Method GET

Response Body

List of variables:

[

    {

        "$id": "1",

        "ControllerId": "LTUY6zgyNzExODhD"        

     }

]

Response Object

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)