xpack.license.post

edit
client.xpack.license.post({
  acknowledge: boolean,
  body: object
})

Reference

acknowledge

boolean - whether the user has acknowledged acknowledge messages (default: false)

body

object - licenses to be installed