def friend_remove_v1(self, request): data = _request_data(request, mandatory_keys=[ ( 'idurl', 'global_id', 'id', ), ]) return api.friend_remove(idurl_or_global_id=data.get('global_id') or data.get('idurl') or data.get('id'), )
def jsonrpc_friend_remove(self, user_id): return api.friend_remove(user_id)
def jsonrpc_friend_remove(self, idurl): return api.friend_remove(idurl)