POST api/Security/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordInputName | Description | Type | Additional information |
---|---|---|---|
OldPassword | string |
Required Max length: 30 Min length: 6 |
|
NewPassword | string |
Required Max length: 30 Min length: 6 |
Request Formats
application/json, text/json
Sample:
{ "OldPassword": "sample string 1", "NewPassword": "sample string 2" }
application/xml, text/xml
Sample:
<ChangePasswordInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models"> <NewPassword>sample string 2</NewPassword> <OldPassword>sample string 1</OldPassword> </ChangePasswordInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>