Autional Autional
API Reference GitHub autional.com →

POST /mfa/totp/devices/{device_id}/disable

Disable a specified TOTP device by setting the Enabled status to false. Reference: RFC 6238 (TOTP), OWASP ASVS V2.8.3.

Multi-Factor Authentication `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Device ID

Responses

StatusDescriptionSchema
200Device Disableddto.TOTPDeviceItem
400Invalid Parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
404Device Not Foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal Server Errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.TOTPDeviceItem

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-05-12T12:00:00Z
device_id string No dev-abc123
device_name string No iPhone 15
enabled boolean No True
last_used_at string No 2026-05-12T12:00:00Z
verified boolean No True

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No