Responses

  • 200 application/json

    Current 2FA status

    Hide response attribute Show response attribute object
    • status boolean
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
GET /2fa/status
curl \
 --request GET 'http://localhost:8080/2fa/status' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "status": true
}
Response examples (401)
{
  "code": 42,
  "message": "string",
  "error": "string"
}