invalidate

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.

Example

Deleting Appery.io database token.

Apperyio.User.invalidate().then(function(result){
   alert("success_" + JSON.stringify(result));
},function(error) {
   alert("error_" + JSON.stringify(error));
 });