updateUser

Apperyio.User.updateUser(options, [dbId])

Updates Appery.io Database user. Returns a Ppromise.

Parameters

This function has the following parameters:

ArgumentDescription
optionsRequest parameters.
dbIdDatabase id. Optional if default database id is set.
Example

Updating Appery.io Database user.

Apperyio.User.updateUser({"username": "test1", "password": "test"}).then(function(result){
   alert("success_" + JSON.stringify(result));
},function(error) {
   alert("error_" + JSON.stringify(error));
});