When using API to list all the groups, location field is shown as empty, even though location is explicitly specified for all groups. It works for devices that inherit locations from these groups (when listing devices with api).
The request I use to get all the groups is: /api/table.json?content=groups&output=json&columns=objid,probe,group,name,location
Sample output: {"objid":2558,"probe":"probe1","group":"remote-office2","name":"remote-office2","location":""}
Add comment