shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/collection/products1/rename <<EOF { "name" : "newname" } EOF HTTP/1.1 OK content-type: application/json; charset=utf-8 location: /_api/collection/products1/rename x-content-type-options: nosniff { "error" : false, "code" : 200, "status" : 3, "name" : "newname", "type" : 2, "isSystem" : false, "globallyUniqueId" : "h34D5FCD00B2F/69427", "id" : "69427" }