User Reset Confirm Password API - Merevoli-DatLuu/SocialNetworkAPI GitHub Wiki
user/reset-comfirm-password - Xác nhận khôi phục mật khẩu
HTTP/1.1 POST /api/v1/user/reset-comfirm-password
- Permission:
everyone
- Require Logged In:
false
Parameter:
Field |
Method |
Type |
Description |
Required |
code |
POST |
string |
Mã xác thực |
* |
new_password |
POST |
string |
Mật khẩu mới |
* độ dài > 8 và phải có kí tự chữ và số |
confirm_password |
POST |
string |
Mật khẩu xác nhận |
* và phải trừng với new_password |
Success 200:
Field |
Type |
Description |
status |
string |
Trạng thái |
message |
string |
Thông báo chi tiết |
Example:
{
"status": "success",
"message": "Reset password successfully"
}
Images
