cluster.putSettings

edit
client.cluster.putSettings({
  flat_settings: boolean,
  master_timeout: string,
  timeout: string,
  body: object
})

Reference

flat_settings or flatSettings

boolean - Return settings in flat format (default: false)

master_timeout or masterTimeout

string - Explicit operation timeout for connection to master node

timeout

string - Explicit operation timeout

body

object - The settings to be updated. Can be either transient or persistent (survives cluster restart).