code: def delete(self, service):
          
          url = self._url_format(service)
          return self.rest_action(
              self._session.delete, url
          )
docs: Generic DELETE operation for Learning Modules API.
  
          Args:
              service (str): The endpoint service to use, i.e. gradebook
  
          Raises:
              requests.RequestException: Exception connection error
              ValueError: Unable to decode response content
  
          Returns:
              list: the json-encoded content of the response