Skip to main content

restoreAllNotifications()

restoreAllNotifications(): Promise<SimpleResponse>

Defined in: packages/core/src/index.ts:1480

Restore all archived notifications back to inbox

Returns

Promise<SimpleResponse>

Confirmation of restore operation

Throws

401 - Not authenticated

Example

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

const result = await restoreAllNotifications();
console.log(result.message); // "All notifications restored"