puter.notifications.removeDevice()forbidden.Removes one of the user's devices, so it gets no more push notifications. Signing out of a session also removes the devices registered from it.
puter.notifications.removeDevice(uid)
uid (String) (required)
The device's uid, from listDevices().
A Promise that resolves once the device is removed. It 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.