PUT api/v1/user/passwordReset

Reset the user's password. Uses HTTP PUT to reset the user's password from the token supplied in the password reset email.

Request Information

URI Parameters

None.

Body Parameters

PasswordResetDto
NameDescriptionTypeAdditional information
Token

Token issues to the user to authorize the password reset.

string

Required

Password

The new password

string

Required

ConfirmPassword

Confirmation of the new password

string

Required

Request Formats

application/json, text/json, application/senml+json

Sample:
{
  "Token": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<PasswordResetViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.PasswordReset">
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <Password>sample string 2</Password>
  <Token>sample string 1</Token>
</PasswordResetViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Status code only

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/senml+json

Sample:

Sample not available.