POST api/auth/reset-password

Resets a user's password using a reset token received via email.

Request Information

URI Parameters

None.

Body Parameters

Password reset request containing the reset token and new password.

ResetPasswordRequestDTO
NameDescriptionTypeAdditional information
Token

string

Required

NewPassword

string

Required

Min length: 8

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "newPassword": "sample string 2"
}

application/xml, text/xml

Sample:
<ResetPasswordRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Models">
  <NewPassword>sample string 2</NewPassword>
  <Token>sample string 1</Token>
</ResetPasswordRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Success status indicating whether the password was reset successfully.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.