Computers
Interface with the autoZnetwork computers.
Computers
List Computers
GET Request: https://api.autoznetwork.com/v1/computers
AUTOZNETWORK_TOKEN="your API token"
AUTOZNETWORK_ORG_ID="your organization id"
curl https://api.autoznetwork.com/v1/computers \
-H "Authorization: Bearer $AUTOZNETWORK_TOKEN" \
-H "X-AutozNetwork-Organization-Id: $AUTOZNETWORK_ORG_ID" \
-H 'Accept: application/json'
<?php
$apiToken = 'ABCD12345 ...';
$organizationId = '1234';
$autoZnetwork = new AutozNetwork($apiToken);
$computers = $autoznetwork
->withOrganization($organizationId)
->computers()
->get();
print($computers)