Retrieves all server group objects for the authenticated user.
o required | integer Organization ID for retrieving groups. |
page | integer Default: 0 The page of results you wish to be returned with page numbers starting at 0. See About Automox API - Pagination |
limit | integer [ 1 .. 500 ] Default: 500 A limit on the number of results to be returned, between 1 and 500, with a default of 500. Use with |
Successful Operation
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = "https://console.automox.com/api/servergroups?o=0000" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
[- {
- "id": 0,
- "organization_id": 0,
- "name": "string",
- "refresh_interval": 240,
- "parent_server_group_id": 0,
- "ui_color": "string",
- "notes": "string",
- "enable_os_auto_update": true,
- "server_count": 0,
- "wsus_config": {
- "id": 0,
- "server_group_id": 0,
- "is_managed": true,
- "server_url": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "policies": [
- 0
]
}
]