You can use LogicMonitor’s REST API to programmatically add LogicMonitor device groups.
As with all of our API calls, authentication is required.
HTTP Method: POST
You can POST the following properties for each device group:
The following Python script adds a device group directly under the root group, and adds a property ‘customer’ for this group set to the value ‘A’: