Skip to main content

Get 2FA

GET 

/v1/settings/active-2fa

Get 2FA

This endpoint retrieves the active two-factor authentication methods associated with a user. It returns a JSON object containing details about the software-based and hardware-based two-factor authentication methods that are currently enabled for the user. This includes identifiers, names, verification status for software-based methods, and creation timestamps. The endpoint responds with HTTP status codes 200 if any authenticators are found, 204 if none are found, and 500 for internal server errors.

Responses​

Two factor authenticators found

Schema
    hardware2fa object[]required
  • Array [
  • createdAt date-timerequired
    id uuidrequired
    name stringnullable
  • ]
  • software2fa objectnullable
    createdAt date-timerequired
    id uuidrequired
    name stringnullable
    verified booleannullable
Loading...