deleteToken

abstract suspend fun deleteToken(deviceId: String): Boolean

Removes the device’s push-notification association on the backend.

Call this on logout or when the device should no longer receive push notifications.

Return

true if deletion succeeded; false otherwise.

Parameters

deviceId

The stable identifier used during updateToken.

Throws

if the network call fails.