Kibana 5.0.2 reset defaultIndex manually

I already tried that before, but always got a

{"statusCode":400,"error":"Bad Request","message":"Request must contain an kbn-xsrf header"}

and assumed that this was implemented to protect the api.

I solved this issue now by doing a:

curl -u imyii:$px -XGET "http://by0kmi:5601/api/kibana/settings"

{"settings":{"buildNum":{"userValue":14476},"timelion:showTutorial":{"userValue":false},"dashboard:defaultDarkTheme":{"userValue":true},"timepicker:timeDefaults":{"userValue":"{\n "from": "now-1h",\n "to": "now",\n "mode": "quick"\n}"},"defaultIndex":{"userValue":"[.marvel-es-]YYYY.MM.DD"},"discover:aggs:terms:size":{"userValue":20}}}

and create a new index using console

PUT /.marvel-es-2016.11.11
{
}

This make the tools available again
Thank you for the hints!