'If present, unregisters a resource from the API.'

def unregister(self, resource_name):

    if (resource_name in self._registry):
        del self._registry[resource_name]
    if (resource_name in self._canonicals):
        del self._canonicals[resource_name]
