DELETE /mfa/methods/{method_type}
删除指定类型的MFA认证方式。参考:OWASP ASVS V2.8。
MFA `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
method_type |
path |
string |
Yes |
|
|
|
MFA方法类型(totp/sms/email) |
user_id |
query |
string |
Yes |
|
|
|
用户ID |
Referenced Schemas
dto.MFADeletedResponse
| Field | Type | Required | Example | Constraints | Description |
deleted |
boolean |
No |
True |
|
|
type |
string |
No |
sms |
|
|
dto.MFAMethodDeleteDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.MFADeletedResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|