List all webhooks on gitlab

Today, I created a new Telegram Group for gitlab notification, but it’s difficult to find all the projects that I configured the webhook…

Today, I created a new Telegram Group for gitlab notification, but it’s difficult to find all the projects that I configured the webhook. So I try to find a command line tool to get all the webhooks in the gitlab, and finally I find the solution on gitlab’s document Webhooks administration.

On the gitlab server, run the following command:

# omnibus-gitlab
sudo gitlab-rake gitlab:web_hook:list
# source installations
bundle exec rake gitlab:web_hook:list RAILS_ENV=production