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