POST v1/api/Account/UpdatePassword

Request Information

URI Parameters

None.

Body Parameters

UpdatePasswordBindingModel
NameDescriptionTypeAdditional information
UserName

string

Required

ResetToken

string

Required

String length: inclusive between 5 and 100

NewPassword

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "resetToken": "sample string 2",
  "newPassword": "sample string 3",
  "confirmPassword": "sample string 4"
}

text/javascript

Sample:
{"userName":"sample string 1","resetToken":"sample string 2","newPassword":"sample string 3","confirmPassword":"sample string 4"}

application/xml, text/xml

Sample:
<UpdatePasswordBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConflictGames.Models">
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <NewPassword>sample string 3</NewPassword>
  <ResetToken>sample string 2</ResetToken>
  <UserName>sample string 1</UserName>
</UpdatePasswordBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/javascript, application/xml, text/xml

Sample:

Sample not available.