curl --request PATCH \
--url http://localhost:8080/cabinet/notifications \
--header 'Content-Type: application/json' \
--data '
{
"subscription_expiry_enabled": true,
"subscription_expiry_days": 15,
"traffic_warning_enabled": true,
"traffic_warning_percent": 74,
"balance_low_enabled": true,
"balance_low_threshold": 1,
"news_enabled": true,
"promo_offers_enabled": true
}
'{
"subscription_expiry_enabled": true,
"subscription_expiry_days": 3,
"traffic_warning_enabled": true,
"traffic_warning_percent": 80,
"balance_low_enabled": true,
"balance_low_threshold": 100,
"news_enabled": true,
"promo_offers_enabled": true
}Update user’s notification settings.
curl --request PATCH \
--url http://localhost:8080/cabinet/notifications \
--header 'Content-Type: application/json' \
--data '
{
"subscription_expiry_enabled": true,
"subscription_expiry_days": 15,
"traffic_warning_enabled": true,
"traffic_warning_percent": 74,
"balance_low_enabled": true,
"balance_low_threshold": 1,
"news_enabled": true,
"promo_offers_enabled": true
}
'{
"subscription_expiry_enabled": true,
"subscription_expiry_days": 3,
"traffic_warning_enabled": true,
"traffic_warning_percent": 80,
"balance_low_enabled": true,
"balance_low_threshold": 100,
"news_enabled": true,
"promo_offers_enabled": true
}Update notification settings.
1 <= x <= 3050 <= x <= 99x >= 0Successful Response
User notification settings.