code: func (h *Handler) serveDeleteRaftPeer(w http.ResponseWriter, r *http.Request, params httprouter.Params) {
  	peer := params.ByName("peer")
  	if err := h.Store.RemovePeer(peer); err == ErrNotLeader {
  		h.redirectToLeader(w, r)
  		return
  	} else if err != nil {
  		hh.Error(w, err)
  		return
  	}
  }
docs: // serveDeleteRaftNodes removes a peer to the store cluster.