Remove the time-based one-time password factor
Remove the time-based one-time password factor
/api/v1/auth/mfa/totpRemoves the factor and every recovery code that went with it — recovery codes exist only to recover a factor, so leaving them would keep live bearer secrets for something that no longer exists.
Removal requires the current password and a current code (TOTP or recovery). Either alone would let a stolen session or a stolen phone take the protection off by itself.
An account with no confirmed factor receives 409 mfa_not_enabled; an
unconfirmed enrolment is not a factor for this purpose.
Header Parameters
Request Body
application/jsonResponses
string·const no-storePrevents storage of error responses by clients and intermediaries.
string·const no-storePrevents storage of error responses by clients and intermediaries.
string·min 1·max 200Correlation identifier for the request.
string·const nosniffPrevents user agents from MIME-sniffing the response.
integer·min 1Seconds until the client may retry.
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
string·const no-storePrevents storage of error responses by clients and intermediaries.
string·min 1·max 200Correlation identifier for the request.
string·const nosniffPrevents user agents from MIME-sniffing the response.