We shutdown one Data Collector, but did not migrate devices to another DC first.
How do we use a REST query to identify all devices which were owned by that Data Collector?
Release : 21.2
DC was deleted
1. find a device that you know was owned by the data collector that was removed
2. Find the ID for <MDRItemID>5261</MDRItemID>
3. Use a REST client to POST a filtered view of devices that were owned by data collector with the ID from step 2.
POST to http://<DA>:8581/rest/devices/filtered
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Select use="exclude" isa="exclude">