You can rename individual resources or collections. To rename a resource, use the following lines of code. The same code can be used to rename a collection as well.
The above line of code renames the resource "/c1/c2/r1" to "/c1/c2/r2".
See also Entries or Content to learn how to do this from the Governance Registry Management Console.