api/settings.js
function changeSettings(account, settings, secret, options, callback) {
  var transaction = createSettingsTransaction(account, settings);
  var converter = _.partial(
    TxToRestConverter.parseSettingsResponseFromTx, settings);
  transact(transaction, this, secret, options, converter, callback);
}
function changeSettings(account, settings, secret, options, callback) {
  var transaction = createSettingsTransaction(account, settings);
  var converter = _.partial(
    TxToRestConverter.parseSettingsResponseFromTx, settings);
  transact(transaction, this, secret, options, converter, callback);
}
function changeSettings ( account , settings , secret , options , callback ) { var transaction = createSettingsTransaction ( account , settings ) ; var converter = _ . partial ( TxToRestConverter . parseSettingsResponseFromTx , settings ) ; transact ( transaction , this , secret , options , converter , callback ) ; }
Change account settings

@body
@param {Settings} request.body.settings
@param {String} request.body.secret

@query
@param {String "true"|"false"} request.query.validated Used to force request
to wait until rippled has finished validating the submitted transaction
Change account settings