Skip to content

How to restore default notification setting of a project?

Problem to solve

Once notification level of a project is set, I can set the level to "Disabled" or "Custom" with all events unchecked not to receive notifications any longer, but I cannot remove the project entry from https://gitlab.com/profile/notifications.

The following pages do not describe how to achieve it:

Further details

projects/278964 (this project)

I've manually set the notification level to "Global," API returns the level as expected:

$ curl -H "PRIVATE-TOKEN: <my_access_token>" https://gitlab.com/api/v4/projects/278964/notification_settings
{"level":"global"}

DELETE does not work:

$ curl -X DELETE -H "PRIVATE-TOKEN: <my_access_token>" https://gitlab.com/api/v4/projects/278964/notification_settings
{"error":"404 Not Found"}

I cannot remove the project from https://gitlab.com/profile/notifications.

Notifications

projects/18256394

I haven't set notification of this project.

$ curl -H "PRIVATE-TOKEN: <my_access_token>" https://gitlab.com/api/v4/projects/18256394/notification_settings
{"level":"global"}

I haven't received notifications of this project, no entry in https://gitlab.com/profile/notifications.

Proposal

Document instructions.

Who can address the issue

Other links/references

Edited by Eisuke Kawashima