DELETE /admin/mfa/reset/{user_id}

Admin forcibly resets all MFA configurations (TOTP devices, MFA settings) for a specified user. The user must reconfigure MFA on next login. Requires admin permissions.

Multi-Factor Authentication `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id path string Yes User ID

Responses

Referenced Schemas

gitee_com_autional_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No