Found this posts.
However, is there a way only to delete specific endpoints instead of all?
Found this posts.
However, is there a way only to delete specific endpoints instead of all?
Run the query below. XX.XX.XX.XX is the IP address of the hosts.
var getHosts = RESTHostManager.getHosts();
for(var restHostId in getHosts){
var restHost = RESTHostManager.getHost(getHosts[restHostId])
if (restHost.url.indexOf('xx.xx.xx.xx') > -1) {
System.log('Removing host: ' + restHost.url);
RESTHostManager.removeHost(restHost.id);
}
}
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.