scriptsPainlessExecuteedit

client.scriptsPainlessExecute({
  body: object
})

Reference

body

object - The script to execute