POST api/Account/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordViewModelName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
OldPassword | string |
Required |
|
NewPassword | string |
Required |
|
ConfirmPassword | string |
Data type: Password |
Request Formats
application/json, text/json
Sample:
{ "email": "sample string 1", "oldPassword": "sample string 2", "newPassword": "sample string 3", "confirmPassword": "sample string 4" }
application/xml, text/xml
Sample:
<ChangePasswordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.Domain.ViewModels"> <ConfirmPassword>sample string 4</ConfirmPassword> <Email>sample string 1</Email> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> </ChangePasswordViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.