deleteMFAPhoneNumber
Removes the MFA phone number from the currently authenticated member's account. Calls the DELETE /sdk/v1/b2b/organizations/members/deletePhoneNumber endpoint. Requires an active session.
Kotlin:
StytchB2B.members.deleteMFAPhoneNumber()Content copied to clipboard
iOS:
let response = try await StytchB2B.members.deleteMFAPhoneNumber()Content copied to clipboard
React Native:
StytchB2B.members.deleteMFAPhoneNumber()Content copied to clipboard
Return
OrganizationsMemberDeleteMFAPhoneNumberResponse containing the updated member object.
Throws
StytchError
if the request fails.
if the coroutine is cancelled.