// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples

[source, js]
----
const response0 = await client.cluster.putSettings({
  body: {
    persistent: {
      'action.auto_create_index': 'twitter,index10,-index1*,+ind*'
    }
  }
})
console.log(response0)

const response1 = await client.cluster.putSettings({
  body: {
    persistent: {
      'action.auto_create_index': 'false'
    }
  }
})
console.log(response1)

const response2 = await client.cluster.putSettings({
  body: {
    persistent: {
      'action.auto_create_index': 'true'
    }
  }
})
console.log(response2)
----

