This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

IPAM Endpoints creates Multiple Endpoints.

Found this posts.

IPAM 4.6.1 - vRO Workflows

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);

                }

    }