Retrieve a report containing devices that need attention. See Using Global API Keys for more information on permission and scope requirements.
Successful Operation
Invalid Request
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = 'https://console.automox.com/api/reports/needs-attention?o=0000&groupId=12345&limit=10&offset=20' $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
{- "nonCompliant": {
- "total": 0,
 - "no_known_cves": 0,
 - "unknown": 0,
 - "none": 0,
 - "low": 0,
 - "medium": 0,
 - "high": 0,
 - "critical": 0,
 - "devices": [ ]
 
} 
}