POST API/Account/UpdatePassword

修改密码

Request Information

Parameters

NameDescriptionAdditional information
password

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<ResetPasword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models">
  <Id>sample string 1</Id>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
</ResetPasword>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ResetPasword'.