def delete(method, hmc, uri, uri_parms, logon_required):
        """Operation: Delete <resource>."""
        try:
            resource = hmc.lookup_by_uri(uri)
        except KeyError:
            raise InvalidResourceError(method, uri)
        resource.manager.remove(resource.oid)
Operation: Delete <resource>.