Permanently delete a device (server object) from the organization. See Using Global API Keys for more information on permission and scope requirements. NOTE: The associated command queue will be purged. Any pending custom commands for the device are removed.
Delete Successful
Invalid Request
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = "https://console.automox.com/api/servers/123456?o=0000" Invoke-WebRequest -Method Delete -Uri $url -Headers $headers
{- "errors": [
- "string"
]
}