Get two-factor status
Reports whether an authenticator app is active and how many recovery codes are left.
GET
/v1/users/me/two-factorReports whether an authenticator app is active and how many recovery codes are left.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Header Parameters
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/users/me/two-factor" \ -H "Authorization: Bearer <token>"{ "isEnabled": false, "recoveryCodesLeft": 1}