deleteMFATOTP

abstract suspend fun deleteMFATOTP(): OrganizationsMemberDeleteMFATOTPResponse

Removes the TOTP authenticator registration from the currently authenticated member's account. Calls the DELETE /sdk/v1/b2b/organizations/members/deleteTOTP endpoint. Requires an active session.

Kotlin:

StytchB2B.members.deleteMFATOTP()

iOS:

let response = try await StytchB2B.members.deleteMFATOTP()

React Native:

StytchB2B.members.deleteMFATOTP()

Return

OrganizationsMemberDeleteMFATOTPResponse containing the updated member object.

Throws

StytchError

if the request fails.

if the coroutine is cancelled.