Hi Florio,
Laura is right, those are the settings for this (I implemented them a while back, so I double-checked the code to be sure of the details). The exact setting names are :ShowMuteOptions, :AlwaysMuted and :NeverMuted, documented here:
https://guides.dataverse.org/en/latest/admin/user-administration.html#letting-users-manage-notificationsFor example, to mute role assignment and revocation notifications for the entire installation:
curl -X PUT -d 'ASSIGNROLE,REVOKEROLE'
http://localhost:8080/api/admin/settings/:AlwaysMutedOne important caveat for your use case: :AlwaysMuted mutes both the email and the in-app notification — the notification is not created at all for the muted types. So if you want to turn off the emails but keep the in-app notifications, this setting is too coarse.
For email-only muting, the preference is per user. With :ShowMuteOptions enabled, each user can uncheck just the "email" column for a notification type in the Notifications tab of their account page while keeping the in-app notification. There is currently no installation-wide setting to change that default for everyone, so to do it in bulk for existing users you'd either use the mutedEmails API Phil mentioned (which requires each user's token), or update the mutedemails column of the authenticateduser table directly in the database (it's a comma-separated list of the same type names, e.g. 'ASSIGNROLE,REVOKEROLE'). Note that either way users can re-enable the emails afterwards, and new accounts will still start with everything enabled.
If a "muted by default, but user can opt back in" installation-level setting would be useful, that would be a reasonable feature request on GitHub.
Best,
Eryk
Op vrijdag 26 juni 2026 om 10:52:14 UTC+2 schreef Laura Huisintveld: