PUT api/Users/PutChangePassword?Lang={Lang}
API này thực hiện thay đổi mật khẩu người dùng.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Lang |
Ngôn ngữ hiển thị (mặc định là "vi"). |
string |
Default value is vi |
Body Parameters
Mô hình chứa thông tin đổi mật khẩu.
ChangePasswordViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OldPassword |
Mật khẩu cũ của người dùng. |
string |
None. |
| NewPassword |
Mật khẩu mới mà người dùng muốn đặt. |
string |
None. |
| ConfirmPassword |
Xác nhận mật khẩu mới. |
string |
None. |
| Lang |
Ngôn ngữ hiển thị (mặc định là "vi"). |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OldPassword": "sample string 1",
"NewPassword": "sample string 2",
"ConfirmPassword": "sample string 3",
"Lang": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Trả về trạng thái của yêu cầu đổi mật khẩu.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.