Autional Autional
API Reference GitHub autional.com →

POST /auth/verify-reset-code

Verify whether the password reset verification code submitted by the user is valid; upon successful verification, allow proceeding to the password reset step. References: OWASP ASVS V2.3.

Authentication None application/json

Request Body

Schema: dto.VerifyResetCodeRequest

FieldTypeRequiredExampleConstraintsDescription
code string Yes Verification code
identity string Yes Email or phone

Responses

StatusDescriptionSchema
200Verification code is validgitee_com_linmes_authms_base_dto.SimpleResponse
400Invalid request parameters or expired verification codegitee_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