Skip to main content

updateNotificationSubscription

Subscribe or unsubscribe from a notification event.

Authentication and Authorization

Authentication is required. Users can only manage their own subscriptions.

Business Rules

  • If subscribed: true, creates a subscription for the current user
  • If subscribed: false, removes the subscription
  • Requires company context
updateNotificationSubscription(
input: UpdateNotificationSubscriptionInput!
): NotificationEvent!

Arguments

updateNotificationSubscription.input ● UpdateNotificationSubscriptionInput! non-null input

Parameters for UpdateNotificationSubscription

Type

NotificationEvent object

A notification event that users can subscribe to.