code: def delete_token():
      '''
          Delete current token, file & CouchDB admin user
      '''
      username = get_admin()[0]
      admins = get_couchdb_admins()
  
      # Delete current admin if exist
      if username in admins:
          print 'I delete {} CouchDB user'.format(username)
          delete_couchdb_admin(username)
  
      # Delete token file if exist
      if os.path.isfile(LOGIN_FILENAME):
          print 'I delete {} token file'.format(LOGIN_FILENAME)
          os.remove(LOGIN_FILENAMEf delete_token():
      '''
          Delete current token, file & CouchDB admin user
      '''
      username = get_admin()[0]
      admins = get_couchdb_admins()
  
      # Delete current admin if exist
      if username in admins:
          print 'I delete {} CouchDB user'.format(username)
          delete_couchdb_admin(username)
  
      # Delete token file if exist
      if os.path.isfile(LOGIN_FILENAME):
          print 'I delete {} token file'.format(LOGIN_FILENAME)
          os.remove(LOGIN_FILENAME)
docs: Delete current token, file & CouchDB admin user