deletePasskey

fun deletePasskey(id: String, callback: (Result<Unit>) -> Unit)

Delete a Passkey by ID on current device.

Note: It is possible to delete a passkey that does not exist. Warning: deleting a Passkey is destructive and will remove everything from the device. If no other device contains the passkey then the user will need to complete a recovery in order to log in again on this device.

Parameters

id

the unique identifier of the Passkey.

callback

fun deletePasskey(id: String, dispatcher: CoroutineDispatcher = Dispatchers.Default): Flow<Result<Unit>>

Delete a Passkey by ID on current device.

Warning: deleting a Passkey is destructive and will remove everything from the device. If no other device contains the passkey then the user will need to complete a recovery in order to log in again on this device.

Return

Flow that delivers Result of Unit

Parameters

id

the unique identifier of the Passkey.