js/cloudmine.js
function(user_id, password, options) {
      options = opts(this, options);

      var payload = JSON.stringify({
        password: password
      });

      return new APICall({
        action: 'account/' + user_id + '/password/change',
        type: 'POST',
        options: options,
        processResponse: APICall.basicResponse,
        data: payload
      });
    }
function(user_id, password, options) {
      options = opts(this, options);

      var payload = JSON.stringify({
        password: password
      });

      return new APICall({
        action: 'account/' + user_id + '/password/change',
        type: 'POST',
        options: options,
        processResponse: APICall.basicResponse,
        data: payload
      });
    }
function ( user_id , password , options ) { options = opts ( this , options ) ; var payload = JSON . stringify ( { password : password } ) ; return new APICall ( { action : 'account/' + user_id + '/password/change' , type : 'POST' , options : options , processResponse : APICall . basicResponse , data : payload } ) ; }
Update a user password without having a session token. Requires the use of the master key
@param {string} user_id The id of the user to change the password.
@param {string} password The new password for the user.
@param {object} [options] Override defaults set on WebService. See WebService constructor for parameters.
@return {APICall} An APICall instance for the web service request used to attach events.
Update a user password without having a session token . Requires the use of the master key