Validate a Password Reset Token

Validates a password reset token.

Request URL

GET {base_url}/uc-user/api/v1/public/users/password/validate-token

Request parameters

Query parameters
Parameter Required Type Description
token Yes String The reset token to validate, which is contained in the password reset email.

Response parameters

Parameter Type Description
requestId String The unique ID of the request, which can be used to quickly locate the request.
code String The HTTP status code of the request.
  • 200: Request succeeded.
  • Non-200 value: Request failed.
message String The status message of the request.
detailMessage String The detailed error information.

When the request is successful, this parameter returns empty.

result Object<Token_Validation> The validation result of the reset token.
Token_Validation
Parameter Type Description
email String The email address of the user that the token belongs to.
username String The username of the user that the token belongs to.
userType String The type of the user that the token belongs to.