Reset a Password
Resets the password of an account using the token in the password reset email.
Request URL
POST {base_url}/uc-user/api/v1/public/users/password/reset
Request parameters
- Body parameters
-
Parameter Required Type Description token Yes String The reset token, which is contained in the password reset email. newPassword Yes String The new password of the account.
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.
|
| 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 | The result of the operation. An empty result is returned when the operation succeeds. |