Autional Autional
API Reference GitHub autional.com →

POST /mfa/totp/disable

Disable TOTP multi-factor authentication for the user, requiring the current TOTP code or backup code for verification. Reference: RFC 6238 (TOTP), OWASP ASVS V2.8.3.

Multi-Factor Authentication `bearerAuth` application/json

Request Body

Schema: dto.TOTPDisableRequest

FieldTypeRequiredExampleConstraintsDescription
code string Yes

Responses

StatusDescriptionSchema
200Disable Successfuldto.DisabledDetailResponse
400Invalid Parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal Server Errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.DisabledDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.DisabledResponse No
message string No
timestamp string No

dto.DisabledResponse

FieldTypeRequiredExampleConstraintsDescription
disabled boolean No True

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No