This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

registry.rename("/c1/c2/r1", "/c1/c2/r2");

The above line of code renames the resource "/c1/c2/r1" to "/c1/c2/r2".

See also Managing Entries or Content to learn how to do this from the Governance Registry Management Console.

  • No labels