Back

POST api/v1/Account/ChangePassword

Requires Authorization

Change password.

Request Information

URI Parameters

None.

Body Parameters

UserChangePasswordBindingModel
NameDescriptionTypeAdditional information
OldPassword

Old password

string

Required

Data type: Password

NewPassword

New password.Password should be a minimum of 8 and maximum of 25 characters, including at least one uppercase letter, one lowercase letter, one number, and no spaces.

string

Required

Data type: Password

ConfirmPassword

Confirm new password

string

Data type: Password

Sample Request

Request Formats

application/json, text/json

Sample:
{
  "OldPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "ConfirmPassword": "sample string 3"
}

Response Information

Resource Description

string

Sample Response

application/json, text/json

Sample:
"sample string"