PUT api/Users/UpdatePassword

Update user password.

Request Information

URI Parameters

None.

Body Parameters

Old password and New password

TupleOfStringAndString
NameDescriptionTypeAdditional information
Item1

string

None.

Item2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "m_Item1": "sample string 1",
  "m_Item2": "sample string 2"
}

application/xml, text/xml

Sample:
<TupleOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <m_Item1>sample string 1</m_Item1>
  <m_Item2>sample string 2</m_Item2>
</TupleOfstringstring>

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 'Tuple`2'.

Response Information

Resource Description

True for a successful update.

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>