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.