POST api/userprofile/ChangePassword
Change User Password
Request Information
URI Parameters
None.
Body Parameters
Change Password Model
| Name | Description | Type | Additional information |
|---|---|---|---|
| NewPassword |
New Password |
string |
None. |
| OldPassword |
Old Password |
string |
Max length: 512 Min length: 6 |
Request Formats
application/json, text/json
Sample:
{
"newPassword": "sample string 1",
"oldPassword": "sample string 2"
}
Response Information
Password change is successful
Response Formats
application/json, text/json
Sample:
true