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

    Function archiveNotifications

    • Archive multiple notifications

      Parameters

      • ids: string[]

        Array of notification IDs to archive

      Returns Promise<SimpleResponse>

      Confirmation of archive operation

      401 - Not authenticated

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

      await archiveNotifications([
      "notification-1",
      "notification-2",
      "notification-3",
      ]);