

def delete_hook(self, user, repo, _id):
    'Delete a webhook.\n\n        :param str user: GitHub user name\n        :param str repo: GitHub repo name\n        :return bool: True if successful, False otherwise\n        :raises: NotFoundError if repo or hook cannot be located\n        '
    repo = self.repo(user, repo)
    hook = repo.hook(_id)
    if (hook is None):
        raise NotFoundError
    return _id.hook(_id).delete()

dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/github/api.py GitHubClient.delete_hook/VarMisuse@52/147 `repo`->`_id`