shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF
{
"query" : "REMOVE 'bar' IN products OPTIONS { ignoreErrors: true }"
}
EOF
HTTP/1.1 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"result" : [ ],
"hasMore" : false,
"cached" : false,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 1,
"scannedFull" : 0,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.0002086162567138672,
"peakMemoryUsage" : 17944
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}