/internal/mfa/totp/disable
内部禁用用户的TOTP多因素认证,无需密码验证,供其他服务(identity-service)调用。需要X-Tenant-ID和InternalAPIKey认证。参考:RFC 6238 (TOTP)、OWASP ASVS V2.8.3。
Request Body
Schema: dto.InternalTOTPDisableRequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
tenant_id |
string |
Yes | |||
user_id |
string |
Yes |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 禁用成功 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 400 | 参数错误 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 401 | 缺少内部API认证 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 500 | 服务器内部错误 | gitee_com_linmes_authms_base_dto.SimpleResponse |
Referenced Schemas
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No | |||
timestamp |
string |
No |