List License Hardware Identifiers
curl --request GET \
--url https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"hwids": [
{
"id": "789e0123-e89b-12d3-a456-426614174333",
"identifier": "HWID-ABC123-XYZ789",
"status": "active",
"forgotten": false,
"licenseId": "456e7890-e89b-12d3-a456-426614174111",
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"lastSeenAt": "2023-09-15T14:25:00Z",
"createdAt": "2023-09-15T10:00:00Z",
"updatedAt": "2023-09-15T14:25:00Z"
},
{
"id": "890e1234-e89b-12d3-a456-426614174444",
"identifier": "HWID-DEF456-UVW012",
"status": "inactive",
"forgotten": false,
"licenseId": "456e7890-e89b-12d3-a456-426614174111",
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"lastSeenAt": "2023-09-14T08:00:00Z",
"createdAt": "2023-09-14T08:00:00Z",
"updatedAt": "2023-09-14T08:00:00Z"
}
],
"totalResults": 2,
"hasNextPage": false
},
"result": {
"timestamp": "2023-09-15T14:30:00Z",
"valid": true,
"details": "Hardware identifiers retrieved successfully"
}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>",
"code": "INTERNAL_SERVER_ERROR"
},
"data": {}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>",
"code": "INTERNAL_SERVER_ERROR"
},
"data": {}
}Dev - Licenses
List License Hardware Identifiers
Retrieve a paginated list of hardware identifiers (HWIDs) associated with a specific license. Includes status calculation based on team timeout settings and filtering options.
GET
/
api
/
v1
/
dev
/
teams
/
{teamId}
/
licenses
/
id
/
{licenseId}
/
hwid
List License Hardware Identifiers
curl --request GET \
--url https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId}/hwid")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"hwids": [
{
"id": "789e0123-e89b-12d3-a456-426614174333",
"identifier": "HWID-ABC123-XYZ789",
"status": "active",
"forgotten": false,
"licenseId": "456e7890-e89b-12d3-a456-426614174111",
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"lastSeenAt": "2023-09-15T14:25:00Z",
"createdAt": "2023-09-15T10:00:00Z",
"updatedAt": "2023-09-15T14:25:00Z"
},
{
"id": "890e1234-e89b-12d3-a456-426614174444",
"identifier": "HWID-DEF456-UVW012",
"status": "inactive",
"forgotten": false,
"licenseId": "456e7890-e89b-12d3-a456-426614174111",
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"lastSeenAt": "2023-09-14T08:00:00Z",
"createdAt": "2023-09-14T08:00:00Z",
"updatedAt": "2023-09-14T08:00:00Z"
}
],
"totalResults": 2,
"hasNextPage": false
},
"result": {
"timestamp": "2023-09-15T14:30:00Z",
"valid": true,
"details": "Hardware identifiers retrieved successfully"
}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>",
"code": "INTERNAL_SERVER_ERROR"
},
"data": {}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>",
"code": "INTERNAL_SERVER_ERROR"
},
"data": {}
}