POST api/Account/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
TaskyamWebAPI.Models.Account.ChangePasswordModelName | Description | Type | Additional information |
---|---|---|---|
OldPassword | string |
Data type: Password |
|
NewPassword | string |
Required Data type: Password |
Request Formats
application/json, text/json
Sample:
{ "OldPassword": "sample string 1", "NewPassword": "sample string 2" }
application/xml, text/xml
Sample:
<ChangePasswordModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NewPassword>sample string 2</NewPassword> </ChangePasswordModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
New password or error message
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>