Skip to main content

markNotificationsAsUnread

Marks notifications as unread for the current user.

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 mark their own notifications as unread.

Business Rules

  • notificationIds is required and must contain at least one ID
  • Only notifications that are currently read will be affected

Possible Errors

  • **Validation error**: notificationIds was not provided or empty
  • **Authorization error**: Attempting to mark a notification that belongs to another user
markNotificationsAsUnread(
input: MarkNotificationsAsUnreadInput!
): AsynchronousActionResponse!

Arguments

markNotificationsAsUnread.input ● MarkNotificationsAsUnreadInput! non-null input

Parameters for MarkNotificationsAsUnread

Type

AsynchronousActionResponse object

Asynchronous action response type