Downloads the CSV for a completed Data Extract job. Triggers an automatic download of the CSV file. This endpoint is DEPRECATED. Use the download_url
given in the Data Extract response object to download the CSV.
Downloads the extract file automatically.
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Returned when the extract download is no longer available.
Too many requests
Service Unavailable
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = 'https://console.automox.com/api/data-extracts/000/download?o=0000' Invoke-WebRequest -Method Get -Uri $url -Headers $headers -ContentType "application/octet-stream" -OutFile "$env:userprofile\Downloads\patch-history_report.csv"
{}