Support Center Home


Delete DataSource Instances

You can use LogicMonitor’s REST API to programmatically delete DataSource instances for a particular device. Instances can only be deleted via API if Active Discovery is disabled for the DataSource.

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