notificationEdit
Moves a notification rule to another channel and returns the updated rule; the resource and action stay the same.
Pass channelId to reuse a channel, or channelDestination to reuse or create a channel of the rule's current
type (email or API only). Requires notifications edit access.
notificationEdit(
notificationId: Int!
siteId: Int!
channelId: Int
channelDestination: String
): Notification!
Arguments
notificationEdit.notificationId ● Int! non-null scalar
Notification id from notificationsList.
notificationEdit.siteId ● Int! non-null scalar
Site id from sites for the notification.
notificationEdit.channelId ● Int scalar
Existing id from channelsList for the same site; takes precedence over channelDestination.
notificationEdit.channelDestination ● String scalar
Email address or API URL when channelId is omitted; matching channels are reused.
Type
Notification object
Notification delivery rule returned by notificationsList, notificationCreate, and notificationEdit.