DELETE /mfa/methods/{method_type}
删除指定类型的MFA认证方式。参考:OWASP ASVS V2.8。
多因素认证 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
method_type |
path |
string |
是 |
|
|
|
MFA方法类型(totp/sms/email) |
user_id |
query |
string |
是 |
|
|
|
用户ID |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-mfa/internal/handler/dto.MFADeletedResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
deleted |
boolean |
否 |
True |
|
|
type |
string |
否 |
sms |
|
|
service-mfa/internal/handler/dto.MFAMethodDeleteDetailResponse