GET /mfa/status/{user_id}
Query the user's enabled MFA methods and status. Reference: OWASP ASVS V2.8.
Multi-Factor Authentication `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
user_id |
path |
string |
Yes |
|
|
|
User ID |
Referenced Schemas
dto.MFAStatusDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.MFAStatusResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.MFAStatusResponse
| Field | Type | Required | Example | Constraints | Description |
email_address |
string |
No |
user@example.com |
|
|
email_enabled |
boolean |
No |
True |
|
|
sms_enabled |
boolean |
No |
False |
|
|
sms_phone |
string |
No |
+8613800****000 |
|
|
totp_enabled |
boolean |
No |
True |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|