code: def run(self):
      from dvc.ui import ui
  
      with self.config.edit("global") as conf:
          if not get_in(conf, ["studio", "token"]):
              ui.error_write("Not logged in to Studio.")
              return 1
  
          del conf["studio"]["token"]
  
      ui.write("Logged out from Studio")
      return 0
  
file_path: dvc/dvc/commands/studio.py
imports: import os
  from funcy import get_in
  from dvc.cli import formatter
  from dvc.cli.utils import append_doc_link
  from dvc.commands.config import CmdConfig
  from dvc.log import logger
label_desc: Use image node_id 1 for calling the CmdStudioLogout obj's underlying member method code with example usage: obj.run() and returns: int, int