def deauthorize(self, auth=None, add_log=True):
        folder = self.folder
        self.clear_settings()

        if add_log:
            extra = {'folder': folder}
            self.nodelogger.log(action="node_deauthorized", extra=extra, save=True)

        self.clear_auth()
Remove user authorization from this node and log the event.
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/dropbox/model.py/DropboxNodeSettings.deauthorize