Skip to content

Change Password API

Overview

This endpoint allows users to change their account password.

Endpoint: POST /Account/change_password

Request Body: application/json

Request Parameters

Field Name Type Description
i_account integer The unique ID of the account record
new_password* string The new password
old_password string The old password

Note: Fields marked with an asterisk (*) are required.

Example Request

{
  "params": {
    "i_account": 1,
    "new_password": "string",
    "old_password": "string"
  }
}

Responses

200 OK

{
  "errors": {
    "new_password": "string",
    "old_password": "string"
  },
  "success": 1
}
Field Name Type Description
errors object Error explanation
errors.new_password string New password error
errors.old_password string Old password error
success* integer 1 for success, 0 for failure

500 Internal Server Error

{
  "faultcode": "string",
  "faultstring": "string"
}
Field Name Type Description
faultcode string The error code
faultstring string Text description of the error