I configured a project to give it a specific notification level. It’s working fine. But now I adjusted my global notification settings and I realize I no longer need to have a project-specific config for notifications. How do I delete it?
Here’s what I tried:
Adjusting the project notification settings from /profile/notifications: adjusting works but it is not being deleted
Adjusting the project notification settings from /mygroup/myproject: same result
Deleting the notification settings from the API: curl -X DELETE --header "PRIVATE-TOKEN: mytoken" https://mygit.com/api/v4/projects/myprojectid/notification_settings I’m getting a 404.
I managed to resolve the issue by writing directly into the postgres database:
gitlab-psql
select id, email from users; # find my user id
delete from notification_settings where user_id = ...; # delete all notification associated to my user
I just hope that I didn’t break anything in the process…