Bulk action request with action type and notification IDs
Confirmation of bulk operation
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"],
});
Perform bulk actions on notifications (restore or delete multiple)