Updates only the notification preferences for a user without modifying other user information. This is a dedicated endpoint for managing notification channel preferences.
When a notification is queued, the Email Service and Push Service check user preferences before sending:
API Gateway queues notification to RabbitMQ
Worker service (Email/Push) fetches user data
Worker checks preferences - if channel is disabled, notification is skipped
If enabled, notification is sent
Preferences are cached in Redis by the notification workers for fast lookups. Updates to preferences may take a few seconds to propagate to the cache.
Disabling all notification channels means the user will not receive any notifications. Consider keeping at least one channel enabled or implementing a warning in your UI.