deregisterDevice

abstract suspend fun deregisterDevice(): Result<Unit>

Deregisters this device from receiving push notifications for this deployment.

After deregistration, the device will no longer receive push notifications for new messages or events. Call registerDevice to re-enable push notification delivery.

Return

Result.Success on successful deregistration, or Result.Error on failure.