POST api/UserManagement/ChangePassword
Change password
Request Information
URI Parameters
None.
Body Parameters
PasswordChangeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentPassword |
Current password |
string |
Required Min length: 6 |
| NewPassword |
New password |
string |
Required Min length: 6 |
Request Formats
application/json, text/json
Sample:
{
"CurrentPassword": "sample string 1",
"NewPassword": "sample string 2"
}
application/xml, text/xml
Sample:
<PasswordChangeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Areas.Account.Models"> <CurrentPassword>sample string 1</CurrentPassword> <NewPassword>sample string 2</NewPassword> </PasswordChangeInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Success of the Process
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>