Autional Autional
API Reference GitHub autional.com →

POST /internal/mfa/totp/disable

Internal disable user's TOTP multi-factor authentication without password verification, called by other services (identity-service). Requires X-Tenant-ID and InternalAPIKey authentication. Reference: RFC 6238 (TOTP), OWASP ASVS V2.8.3.

Multi-Factor Authentication None application/json

Request Body

Schema: dto.InternalTOTPDisableRequest

FieldTypeRequiredExampleConstraintsDescription
tenant_id string Yes
user_id string Yes

Responses

StatusDescriptionSchema
200Disabled successfullygitee_com_linmes_authms_base_dto.SimpleResponse
400Invalid parametergitee_com_linmes_authms_base_dto.SimpleResponse
401Missing internal API authenticationgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_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