Removing unused legacy endpoint