Update User Notifications Preferences
update User Notifications Preferences.
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();
const result = await norbix.hub.notifications.updateUserNotificationsPreferences({
userId: 'usr_4kX9mQvR2tYw7ZbC1dFgHj',
blockAllMarketingMessages: true,
});using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;
using var client = new NorbixClient();
var result = await client.Notifications.UpdateUserNotificationsPreferencesAsync(new UpdateUserNotificationsPreferences
{
UserId = "usr_4kX9mQvR2tYw7ZbC1dFgHj",
BlockAllMarketingMessages = true,
});from norbix_python import NorbixHub
norbix = NorbixHub()
result = norbix.notifications.update_user_notifications_preferences(
userId="usr_4kX9mQvR2tYw7ZbC1dFgHj",
blockAllMarketingMessages=True,
)In the dashboard
API reference
Last updated