deleted rest client