shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/index?collection=sessions <<EOF { "type" : "ttl", "expireAfter" : 3600, "fields" : [ "createdAt" ] } EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "expireAfter" : 3600, "fields" : [ "createdAt" ], "id" : "sessions/104830", "isNewlyCreated" : true, "sparse" : true, "type" : "ttl", "unique" : false, "error" : false, "code" : 201 }