docs: def delete_hook(self, auth, username, repo_name, hook_id):
          """
          Deletes the hook with id ``hook_id`` for repo with name ``repo_name``
          owned by the user with username ``username``.
  
          :param auth.Authentication auth: authentication object
          :param str username: username of owner of repository
          :param str repo_name: name of repository of hook to delete
          :param int hook_id: id of hook to delete
          :raises NetworkFailure: if there is an error communicating with the server
          :raises ApiFailure: if the request cannot be serviced
          """
          path = "/repos/{u}/{r}/hooks/{i}".format(u=username, r=repo_name, i=hook_id)
          self.delete(path, auth=auth)