code: def pause(self, remaining_pause_cycles):
          
          url = urljoin(self._url, '/pause')
          elem = ElementTreeBuilder.Element(self.nodename)
          elem.append(Resource.element_for_value('remaining_pause_cycles',
                                                 remaining_pause_cycles))
          body = ElementTree.tostring(elem, encoding='UTF-8')
  
          response = self.http_request(url, 'PUT', body, { 'Content-Type':
              'application/xml; charset=utf-8' })
  
          if response.status not in (200, 201, 204):
              self.raise_http_error(response)
  
          self.update_from_element(ElementTree.fromstring(response.read()))
docs: Pause a subscription