Skip to main content

updateNotificationPreferences

Change the caller's own notification preferences in the organization. An invalid change (equal quiet-hour bounds, a minute outside 0..1439, both quietHours and clearQuietHours) is refused with INVALID_ARGUMENT and nothing is saved.

updateNotificationPreferences(
ownerID: String!
input: UpdateNotificationPreferencesInput!
): NotificationPreferences!

Arguments​

updateNotificationPreferences.ownerID ● String! non-null scalar​

updateNotificationPreferences.input ● UpdateNotificationPreferencesInput! non-null input​

Type​

NotificationPreferences object​

The caller's notification preferences in one organization.