puter.notifications.disable()Ends this browser's push subscription for your app and removes it from Puter. Notifications still reach your app live while it's open. The browser's permission isn't changed, so a later enable() turns pushes back on without a prompt.
puter.notifications.disable()
puter.notifications.disable(options)
options (Object) (optional)
serviceWorker (String): path of the worker passed to enable(). Default /puter-sw.js.A Promise that resolves to true when a subscription was removed, and false when there was none.