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/.

Deleting a Resource

Additionally, you can use the registry instance to delete resources. Deleting a resource is a matter of calling the delete method of the registry. For example, to delete the "/c1/c2/r1" resource, use the following code:

registry.delete("/c1/c2/r1");

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