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

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

Parameters 

 

Name TypeDescription

id

required

string

key_request id

data

required

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
Write a comment…