Deregister a service with the local consul agent

def deregister(self, id):
        """Deregister a service with the local consul agent"""
        r = requests.put('{}/{}'.format(self.url_deregister, id))
        if r.status_code != 200:
            raise consulDeregistrationError(
                'PUT returned {}'.format(r.status_code))
        return r