Skip to main content
Mutation

setNotificationPreference

Turns one notification kind on or off for one outbound channel for the signed-in user. Returns all preferences.

Arguments

Returns

[NotificationPreference!]!

Example

mutation SetNotificationPreference($channel: NotificationChannel!, $enabled: Boolean!, $kind: NotificationKind!) {
  setNotificationPreference(channel: $channel, enabled: $enabled, kind: $kind) {
    available
    category
    channel
    enabled
    kind
  }
}