@cpod/sdk - v0.2.7
    Preparing search index...

    Function bulkNotificationAction

    • Perform bulk actions on notifications (restore or delete multiple)

      Parameters

      Returns Promise<SimpleResponse>

      Confirmation of bulk operation

      401 - Not authenticated

      import { bulkNotificationAction } from "@cpod/sdk";

      // Restore multiple notifications
      await bulkNotificationAction({
      action: "restore",
      notification_ids: ["notif-1", "notif-2"],
      });

      // Delete multiple notifications
      await bulkNotificationAction({
      action: "delete",
      notification_ids: ["notif-3", "notif-4"],
      });