Change password [Obsolete("Use forgot password link")]

Changes the password for the Account specified by the loginName. No validation of the password strength is made and it is up to the application to enforce such validation.

Request
query Parameters
loginName
required
string

User login name.

oldPassword
required
string

Current user password, for validation purposes.

newPassword1
required
string

Requested new password, must be equal to newPassword 2.

newPassword2
required
string

Requested new password, must be equal to newPassword 1.

cultureCode
string

Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.

Responses
200

Success

400

Bad Request

Key: AccountCustomerMissing. Gets raised when the customer is missing for the account.

Key: LoginFailed. Gets raised when the login name or password is incorrect.

Key: PasswordCannotBeEmpty. Gets raised when either of the supplied passwords are null or empty.

Key: WrongNewPassword. Gets raised when the new password does not match the confirmed password.

500

Internal Server Error

post/CustomerService.svc/rest/ChangePassword