def del_token(token):
 token_path = os.path.join(__opts__['token_dir'], token)
 if os.path.exists(token_path):
  return (os.remove(token_path) is None)
 return False

def del_token ( token ) : token_path = os . path . join ( __opts__ [ 'token_dir' ] , token ) if os . path . exists ( token_path ) : return ( os . remove ( token_path ) is None ) return False
delete an eauth token by name cli example: .