Change rest endpoint