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