implemented delete methods for RestClient