code: def purgeObject(self, pid, logMessage=None):
          
          http_args = {}
          if logMessage:
              http_args['logMessage'] = logMessage
  
          url = 'objects/%(pid)s' % {'pid': pid}
          return self.delete(url, params=http_args)
docs: Purge an object from Fedora.
          Returned response shoudl have a status of 200 on success; response
          content is a timestamp.
  
          Wrapper function for
          `REST API purgeObject <http://fedora-commons.org/confluence/display/FCR30/REST+API#RESTAPI-purgeObject>`_
  
          :param pid: pid of the object to be purged
          :param logMessage: optional log message
          :rtype: :class:`requests.models.Response`