我正在使用javascript sdk。如何以编程方式删除 Quickblox 上的用户?
QB.users.delete(userId,function(err, result){});
我收到错误:-
Cannot read property 'external' of undefined
用户可以使用下面的示例代码从平台中删除自己:
var userId = 1;
QB.users.delete(userId, function(error, result){
});
错误“无法读取未定义的属性'外部'”可能意味着提供的ID在后端不存在。