archiveNotifications()
archiveNotifications(
ids:string[]):Promise<SimpleResponse>
Defined in: packages/core/src/index.ts:1457
Archive multiple notifications
Parameters
| Parameter | Type | Description |
|---|---|---|
ids | string[] | Array of notification IDs to archive |
Returns
Promise<SimpleResponse>
Confirmation of archive operation
Throws
401 - Not authenticated
Example
import { archiveNotifications } from "@cpod/sdk";
await archiveNotifications([
"notification-1",
"notification-2",
"notification-3",
]);