puter.notifications.removeDevice() Removes one of the user's devices, so it gets no more push notifications.
forbidden.Signing out of a session also removes the devices registered from it.
Removing a 'webpush' device sticks. The website that subscribed that browser doesn't register it again on page loads. The site turns pushes off in that browser the next time a page with onPush() loads or calls status(). Calling enable() on the site turns them back on.
puter.notifications.removeDevice(uid)
uid (String) (required)
The device's uid, from listDevices().
A Promise that resolves once the device is removed.
The promise rejects with device_not_found if the user has no device with that uid, and with push_unavailable if this deployment has no push notification service, as on most self-hosted servers.