PUT Users/RestorePassword

Restores an account with a new password based on the forgot password token.

Request Information

URI Parameters

None.

Body Parameters

RestorePasswordDTO
NameDescriptionTypeAdditional information
PasswordRestoreToken

Gets or sets the password restore tokens

globally unique identifier

None.

Password

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "PasswordRestoreToken": "18ac6533-55d7-4431-bb2d-712d415372c6",
      "Password": "sample string 2"
    }
  ]
}

text/javascript

Sample:
{"results":[{"PasswordRestoreToken":"18ac6533-55d7-4431-bb2d-712d415372c6","Password":"sample string 2"}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<RestorePasswordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <Password>sample string 2</Password>
  <PasswordRestoreToken>18ac6533-55d7-4431-bb2d-712d415372c6</PasswordRestoreToken>
</RestorePasswordDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.