code: def logout(self, api_version="v2.0"):
          
  
          cur_ctlr = self._parent_class.controller
  
          url = str(cur_ctlr) + "/{}/api/logout".format(api_version)
  
          api_logger.debug("URL = %s", url)
          return self._parent_class.rest_call(url, "get")
docs: Logout current session
  
            **Parameters:**:
  
            - **api_version**: API version to use (default v2.0)
  
          **Returns:** requests.Response object extended with cgx_status and cgx_content properties.