POST api/auth/changepw

Changes the customer's current password.

Request Information

URI Parameters

None.

Body Parameters

An object containing the current password as well as the desired new password.

PasswordChangeRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

CurrentPassword

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "CurrentPassword": "sample string 2",
  "NewPassword": "sample string 3"
}

text/html

Sample:
{"CustomerId":1,"CurrentPassword":"sample string 2","NewPassword":"sample string 3"}

application/xml, text/xml

Sample:
<AuthorizationController.PasswordChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LimitlessMobile.WebAPI.Controllers">
  <CurrentPassword>sample string 2</CurrentPassword>
  <CustomerId>1</CustomerId>
  <NewPassword>sample string 3</NewPassword>
</AuthorizationController.PasswordChangeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Nothing.

None.