List specific group object

Returns a specific server group object for the authenticated user. See Using Global API Keys for more information on permission and scope requirements.

SecuritybearerAuth
Request
path Parameters
id
required
integer <int64>

Server Group ID for the specified group.

query Parameters
o
required
integer <int64>

Organization ID for the specified group.

Responses
200

Successful Operation

4XX

Invalid Request

default

Invalid Request

get/servergroups/{id}
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{ "Authorization" = "Bearer $apiKey" }
$url = "https://console.automox.com/api/servergroups/12345?o=0000"
$response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
Response samples
application/json
{
  • "id": 654231,
  • "organization_id": 250624,
  • "name": "My Test Server Group",
  • "refresh_interval": 1440,
  • "parent_server_group_id": 90125,
  • "ui_color": "#3C78D8",
  • "notes": "Here's some notes",
  • "enable_os_auto_update": true,
  • "server_count": 1,
  • "wsus_config": {
    • "id": 954368,
    • "server_group_id": 654321,
    • "is_managed": null,
    • "server_url": null,
    • "created_at": "2021-10-20T04:03:25+0000",
    • "updated_at": "2021-10-20T04:03:25+0000"
    },
  • "policies": [
    • 421365,
    • 587321
    ]
}