Deletes a server group.

NOTE: Any devices that belong to the deleted group will be moved to the organization's Default Group

SecuritybearerAuth
Request
path Parameters
id
required
integer

Server Group ID for the specified group.

query Parameters
o
required
integer

Organization ID for the created group.

Responses
204

Deletion Successful

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

503

Service Unavailable

default

Invalid Request

delete/servergroups/{id}
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{ "Authorization" = "Bearer $apiKey" }
$url = "https://console.automox.com/api/servergroups/12345?o=0000"
Invoke-WebRequest -Method Delete -Uri $url -Headers $headers
Response samples
application/json
{
  • "errors": [
    • "string"
    ]
}