DELETE /mfa/methods/{method_type}
Delete a specified type of MFA authentication method. Reference: OWASP ASVS V2.8.
Multi-Factor Authentication `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
method_type |
path |
string |
Yes |
|
|
|
MFA method type (totp/sms/email) |
user_id |
query |
string |
Yes |
|
|
|
User 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 |
|
|
|