code: func (s *OrganizationsService) EditHook(ctx context.Context, org string, id int64, hook *Hook) (*Hook, *Response, error) {
  	u := fmt.Sprintf("orgs/%v/hooks/%d", org, id)
  	req, err := s.client.NewRequest("PATCH", u, hook)
  	if err != nil {
  		return nil, nil, err
  	}
  	h := new(Hook)
  	resp, err := s.client.Do(ctx, req, h)
  	return h, resp, err
  }
docs: // EditHook updates a specified Hook.
  //
  // GitHub API docs: https://developer.github.com/v3/orgs/hooks/#edit-a-hook