POST v1_0/api/MyAccount/UpdatePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
None. |
|
OldPassword | string |
Required Data type: Password |
|
NewPassword | string |
Required Data type: Password String length: inclusive between 8 and 100 |
|
OldPasswordString | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "OldPassword": "sample string 2", "NewPassword": "sample string 3", "OldPasswordString": "sample string 4" }
application/xml, text/xml
Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CsharpCornerAPI.Models.v1_0"> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> <OldPasswordString>sample string 4</OldPasswordString> <UserId>sample string 1</UserId> </ChangePassword>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |