Apperyio.User.invalidate([dbId])
Deletes Appery.io Database token. Doesn’t invalidate token in Appery.io Database. Returns true if token exists.
Parameters
This function has the following parameters:
Arguments | Description |
---|---|
dbId | Database id. Optional if default database id is set. |
Apperyio.User.invalidate().then(function(result){
alert("success_" + JSON.stringify(result));
},function(error) {
alert("error_" + JSON.stringify(error));
});