Why is this so complicated?

curl -XPUT 'http://localhost:9200/index/' -d '
{
"filename" : "0", "filename2" : "zero"
}'

{"error":"IndexAlreadyExistsException[[index] Already exists]","status":400}