removeRegistration

abstract suspend fun removeRegistration(): Boolean

Removes the locally stored biometric registration keypair from this device. This is a local-only operation — it does not make a network call and does not remove the registration from the Stytch backend. Requires an active session.

Kotlin:

StytchConsumer.biometrics.removeRegistration()

iOS:

let success = try await StytchConsumer.biometrics.removeRegistration()

React Native:

StytchConsumer.biometrics.removeRegistration()

Return

true if the local registration was successfully removed.

Throws

if no active session is present.

if the coroutine is cancelled.