code: def _logout(self, reset=True):
          
          url = '{base}/client/auth/logout'.format(base=self.base_url)
          response = self._session.get(url, params=self._parameters)
          if response.ok:
              if reset:
                  self._reset()
              return True
          else:
              return False
docs: Log out of the API.