This endpoint returns a CSV of the latest result for each policy execution in a given zone.
Downloads the policy list CSV automatically.
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
Service Unavailable
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = "https://console.automox.com/api/zones/{zoneUUID}/reports/policies/csv" Invoke-WebRequest -Method Get -Uri $url -Headers $headers -ContentType "application/octet-stream" -OutFile "$env:userprofile\Downloads\policy-list_report.csv"