A AuthMS API Wiki API Reference iam.tianv.com →

POST /internal/mfa/totp/disable

内部禁用用户的TOTP多因素认证,无需密码验证,供其他服务(identity-service)调用。需要X-Tenant-ID和InternalAPIKey认证。参考:RFC 6238 (TOTP)、OWASP ASVS V2.8.3。

MFA None application/json

Request Body

Schema: dto.InternalTOTPDisableRequest

FieldTypeRequiredExampleConstraintsDescription
tenant_id string Yes
user_id string Yes

Responses

StatusDescriptionSchema
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

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No