REST API Developer's Guide

Delete Datasource Instances

You can use LogicMonitor's REST API to programmatically delete datasource instances for a particular device.  Note that instances can only be deleted via API if Active Discovery is disabled for the datasource.

Note: As with all of our API calls, authentication is required.

 

HTTP Method: DELETE

URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/instances/{instanceId}

Where:

  • {deviceId} is the device id, which you can get from a GET request to the devices resource
  • {deviceDatasourceId} is the device datasource id, which you can get from a GET request to the device datasources resource
  • {instanceId} is the instance id