MonetaryAI / Docs
API ReferenceAccount security

Disable Google Authenticator using password and second factor

Requires current password and one fresh six-digit code OR one unused recoveryCode. Removes the secret/recovery codes and revokes every session/JWT. Password reset never disables TOTP. Login again after success.

POST
/api/v1/me/security/authenticator/disable

Authorization

bearerAuth
headerAuthorizationBearer <token>

Obtained from POST /api/v1/auth/login, on the tenant's own subdomain. Presenting it on another tenant's subdomain is a 403.

Request Body

application/json
  1. body
code?string
Match[0-9]{6}
currentPassword*string
Formatpassword
Length0 <= length <= 72
recoveryCode?string
Match(?i)[a-z2-7]{4}(?:-?[a-z2-7]{4}){3}

Response Body

Disabled, login again

curl -X POST 'https://api.monetaryai.uz/api/v1/me/security/authenticator/disable' \  -H 'Content-Type: application/json' \  -d '{  "currentPassword": "pa$$word"}'
Empty