dismissNotifications
Dismisses (soft-deletes) notifications for the current user. Dismissed notifications will no longer appear in the notification feed.
This is an asynchronous operation that returns immediately with a
process_id that can be used to track the operation status.
Authentication and Authorization
Authentication is required. Users can only dismiss their own notifications.
Business Rules
- Either
notificationIdsorgroupKeys(or both) must be provided notificationIdsdismisses specific individual notificationsgroupKeysdismisses all notifications matching the given group keys- Already-dismissed notifications are not affected
Possible Errors
- **Validation error**: Neither
notificationIdsnorgroupKeyswas provided - **Authorization error**: Attempting to dismiss a notification that belongs to another user
dismissNotifications(
input: DismissNotificationsInput!
): AsynchronousActionResponse!
Arguments
dismissNotifications.input ● DismissNotificationsInput! non-null input
Parameters for DismissNotifications
Type
AsynchronousActionResponse object
Asynchronous action response type