IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

scriptsPainlessExecute

edit
client.scriptsPainlessExecute({
  body: object
})

Reference

body

object - The script to execute