deleteToken

abstract suspend fun deleteToken(deviceId: String): Boolean

Deletes the device’s FCM token on the backend.

Return

true if the token was deleted successfully; false otherwise.

Parameters

deviceId

The unique ID of the device.

Throws

if deletion fails.