In order to enable inline scripting...
I updated the conifguration, and then restarted my cluster (ca0c0d37806dbc...).
But it seems like the configuration has not been picked up. I still get a 400 error ("scripts of type [inline], operation [search] and lang [groovy] are disabled").
Has the cluster actually restarted?