AurionAI Docs

Verify And Enable Totp

Verify TOTP code and enable MFA. Returns backup codes.

POST
/api/v1/users/me/mfa/totp/verify

Verify TOTP code and enable MFA. Returns backup codes.

Authorization

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/users/me/mfa/totp/verify" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}