Upcoming Commands Queue for Specific Device

Returns the queue of upcoming commands for the specified device.

Request
Security:
path Parameters
id
required
integer

Server ID for the specified device.

query Parameters
o
required
integer

Organization ID for the specified device.

Responses
200

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

get/servers/{id}/queues
Request samples
$apiKey = 'your_automox_api_key'

$headers = @{ "Authorization" = "Bearer $apiKey" }

$url = "https://console.automox.com/api/servers/123456/queues?o=0000"


$response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
Response samples
application/json
[
  • {
    • "command_type_name": "InstallUpdate",
    • "args": "KB12345 KB67890",
    • "exec_time": "2017-06-29T16:39:50.951Z"
    }
]