Autional Autional
API Reference GitHub autional.com →

POST /auth/recover-account/reset

After verifying the account recovery code, set a new password to complete account recovery and password reset. References: NIST SP 800-63B §5.1.1.2.

Authentication None application/json

Request Body

Schema: dto.RecoverAccountResetRequest

FieldTypeRequiredExampleConstraintsDescription
code string Yes
identity string Yes
new_password string Yes length: 8–32

Responses

StatusDescriptionSchema
200Password reset successfuldto.RecoverAccountResetResponse
400Invalid request parameters or expired verification codegitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.RecoverAccountResetResponse

FieldTypeRequiredExampleConstraintsDescription
message string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No