Remove Data Collector from DA GUI

Document ID : KB000112224
Last Modified Date : 28/08/2018
Show Technical Document Details
I uninstalled one of DCs but it is still shown in DA's Data Collector list. Could you please let me know how to completely remove the DC from GUI? 
CAPM 3.x
Sometimes, if a DC is removed but the info doesn't get synched to the DA, it may remain listed in the PC GUI.
this can be fixed using REST:
curl -X GET -H 'Content-Type: application/xml' http://DA:8581/rest/dcms 
find the itemid for the DC you want to remove, be careful to select the correct one. 
Then use this to delete it, replacing ID with the number from above. 
curl -X DELETE -H 'Content-Type: application/xml' http://DA:8581/rest/ipdomainmember/ID