Quatrix JavaSctipt APIs
Space shortcuts
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Sets new password to account. Check 'data' example below.

Parameters 

Name TypeDescription
idstring

key_request id

dataarray

information about new password


 

Example Result

 

this.saveResetPswd = function(id, data, cb) {
  return _request( {
    method: 'POST',
    url: '/user/reset_password/' + id,
    data: data,
    callback: cb
  });
};



Example Result

{
 password: "PR6M3ryAJC8+XvVZqggk+A==",
 session_key: "8LkG0mKO67+MsbRhSLr0gUYMQ2sETavseyUMkqkGxYf1yTPYX9EeiAlIAAuCpDbbxQlxyalsaTOXwSfUDNB6sz9bOzumNz+JRKxktHspS8PaDlhEHL+CGp26140TLY4kEk81OCVB7B3LnqGu3SYTehIeUrX81O8N7RA1/4RSgQ=="
}

 

 

  • No labels