Responses

  • 200 application/json

    Current 2FA status

    Hide response attributes Show response attributes object
    • enabled boolean
    • method string

      Value is totp.

  • 401

    Unauthorized

GET /2fa/status
curl \
 --request GET 'http://localhost:8080/2fa/status' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "enabled": true,
  "method": "totp"
}