LogicMonitor recognized as a Customers' Choice by Gartner Peer Insights™ in 2024 Gartner Voice of the Customer for Observability platforms.

Read More

Delete DataSource Instances

Last updated on 29 January, 2021

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