notificationToggleEnabled
Enables or disables notification rules and returns only the ids whose state changed. Use it to pause or resume delivery while keeping the rule. Requires notifications edit access.
notificationToggleEnabled(
ids: [Int!]!
enabled: Boolean!
): Affected
Arguments
notificationToggleEnabled.ids ● [Int!]! non-null scalar
Notification ids from notificationsList; inaccessible ids are skipped.
notificationToggleEnabled.enabled ● Boolean! non-null scalar
True to enable delivery, false to disable it; unchanged rules are omitted from affected ids.
Type
Affected object
Ids affected by a bulk mutation, including notificationDelete and notificationToggleEnabled.