These are the steps we have used to remove the old server UUIDs from the apigee edge. Remove from Management server :- steps: 1. Unregister servers from the organization's environments on Management Server: curl -v -X POST http://localhost:8080/v1/o//environments//servers -d "uuid=®ion=&pod=&action=remove" -u <> 2. Unregister server’s type on Management Server: curl http://localhost:8080/v1/servers -v -X POST -d "type=®ion=&pod=&uuid=&action=remove" -u <> 3. Delete RMP on Management Server: curl -v -X DELETE "http://localhost:8080/v1/servers/" -u <> Verification: 1. verify Orphan UUID is not in registration /<>/apigee4/contrib/registration-overview.sh -p Now remove it from zookeeper:- Steps: 1. Get the zookeeper tree /<>/apigee4/contrib/zk-tree.sh > tree-before.txt 2. Go to the zkCli.sh on zookeeper node and run /<>/apigee4/share/zookeeper/bin/zkCli.sh 2. At the zkCLI prompt, remove the bad uuid with the rmr command for each path that you see the bad uuid existing. sample Delete is below rmr /servers/<> Verification : /opt/apigee4/contrib/zk-tree.sh > tree-after.txt 1. Search for all deleted UUIDs in the output file