DELETE /mfa/totp/devices/{id}
撤销指定的TOTP设备,需要提供当前TOTP验证码进行验证。参考:RFC 6238 (TOTP)、OWASP ASVS V2.8.3。
MFA `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
设备ID |
Referenced Schemas
dto.DisabledDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.DisabledResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.DisabledResponse
| Field | Type | Required | Example | Constraints | Description |
disabled |
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 |
|
|
|