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

« Previous Version 4 Current »

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

Parameters 

 

Name TypeDescription

id

required

string

key_request id

data

optional

array

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,
    public: true
  });
};



Example Result

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

 

 

  • No labels