Deletes a device (server object) from the organization.

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.

SecuritybearerAuth
Request
path Parameters
id
required
integer <int64>

Server ID for the specified device

query Parameters
o
required
integer <int64>

Organization ID for the specified device

Responses
204

Delete Successful

4XX

Invalid Request

default

Invalid Request

delete/servers/{id}
Request samples
$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
Response samples
application/json
{
  • "errors": [
    • "string"
    ]
}