POST api/v{version}/users/changepassword

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

UserChangePasswordModel
NameDescriptionTypeAdditional information
OldPassword

string

Required

NewPassword

string

Required

Matching regular expression pattern: ^[0-9a-zA-Z-_!.)@#(~]+$

NewPasswordConfirm

string

None.

SignOutAllSessions

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "OldPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "NewPasswordConfirm": "sample string 3",
  "SignOutAllSessions": true
}

application/xml, text/xml

Sample:
<UserChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.BindingModels">
  <NewPassword>sample string 2</NewPassword>
  <NewPasswordConfirm>sample string 3</NewPasswordConfirm>
  <OldPassword>sample string 1</OldPassword>
  <SignOutAllSessions>true</SignOutAllSessions>
</UserChangePasswordModel>

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 'UserChangePasswordModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.