POST api/Account/changepassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordModel| Name | Description | Type | Additional information |
|---|---|---|---|
| currentPassword | string |
None. |
|
| newPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"currentPassword": "sample string 1",
"newPassword": "sample string 2"
}
application/xml, text/xml
Sample:
<ChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoDoIT.TenantApp.Site.Models"> <currentPassword>sample string 1</currentPassword> <newPassword>sample string 2</newPassword> </ChangePasswordModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>