Join fellow LogicMonitor users at the Elevate Community Conference and get hands-on with our latest product innovations.

Register Now

Resources

Explore our blogs, guides, case studies, eBooks, and more actionable insights to enhance your IT monitoring and observability.

View Resources

About us

Get to know LogicMonitor and our team.

About us

Documentation

Read through our documentation, check out our latest release notes, or submit a ticket to our world-class customer service team.

View Resources

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

Get Started with LogicMonitor