BPAPI Methods

BPAPI method ChangePassword


Changes password

Authorization required: No

HTTP methods allowed: GET, POST

Syntax: ChangePassword/{email}/{old_password}/{new_password}/  Details   Details 

Changes password

This call is functionally equivalent to Customer/AddProperty with property_name set to "password" except that authorization is done with the parameters {email} and {old_password} instead of through the standard BPAPI authorization mechanism (HTTP Basic Authorization).

This makes it a bit easier to write a corresponding Javascript client for changing passwords in situations where you want to avoid the web-browser asking the user for credentials for authorization against BPAPI.

If the credentials are not correct then bpapi_status will be set to "access_error"

See also ResetPassword

Unit-tests: 2 test(s)

Popularity: 6754 (number of times method has been accessed)

Documentation and tests automatically generated from source-code 2020-04-08 16:17