OpenapiUser
Disable TOTP two-factor authentication for the current user
Disables TOTP and removes the configuration. Requires a single-use reauth ticket obtained by verifying any one of the user's factors (password, TOTP, or Passkey) via `POST /api/user/reauth/verify` (see `consume_reauth`). Cannot be disabled if the realm has force-enabled TOTP.
DELETE
Disables TOTP and removes the configuration. Requires a single-use reauth
ticket obtained by verifying any one of the user's factors (password, TOTP,
or Passkey) via POST /api/user/reauth/verify (see consume_reauth).
Cannot be disabled if the realm has force-enabled TOTP.
bearer_authheader
AuthorizationBearer <token>application/json- body
reauth_token*stringTOTP disabled successfully
application/json- response
disabledAt*stringmessage*stringcurl -X DELETE 'https://example.com/api/user/totp' \
-H 'Content-Type: application/json' \
-d '{
"reauth_token": "string"
}'Example Response
{
"disabledAt": "string",
"message": "string"
}