{"type":"api","title":"List Device Groups","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Troubleshooting Tools - Device Group"],"description":"Retrieve device groups","operationId":"listDeviceGroups","parameters":[{"name":"siteId","in":"query","description":"siteId","schema":{"type":"string"},"example":400}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"examples":{"Example":{"description":"Example","value":{"header":{},"data":[{"name":"All","sshuri":"dataservice/newssh/devices","uri":"dataservice/device","mapuri":"dataservice/group/map/devices","linkuri":"dataservice/group/map/devices/links"},{"name":"No groups","sshuri":"dataservice/group/devices?groupId=none&ssh=true","uri":"dataservice/group/devices?groupId=none","mapuri":"dataservice/group/map/devices?groupId=none","linkuri":"dataservice/group/map/devices/links?groupId=none"}]},"$$ref":"#/components/examples/ComViptelaVmanageServerGroupDevicegroupapiResponseExampleGroupdevice200"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"string"},"examples":{"Example":{"description":"Example","value":"can't parse JSON. Raw result:\n\nInvalid Query Param siteId","$$ref":"#/components/examples/ComViptelaVmanageServerGroupDevicegroupapiResponseExampleGroupdevice400"}}}}},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"get","path":"/group/device"}}