Skip to content

Password

API call to update dealer's password.


API actions

API base path: panel/dealer/password.

update

Changes password for the authorized dealer.

required permissions: password: "update".

parameters

name description type
old_password Current dealer's password. string
new_password New password for the dealer, 6 to 20 printable characters. string

example

curl -X POST 'https://api.navixy.com/v2/panel/dealer/password/update' \
    -H 'Content-Type: application/json' \ 
    -d '{"hash": "fa7bf873fab9333144e171372a321b06", "old_password": "qwerty", "new_password": "[email protected]"}'

response

{
    "success": true
}

errors

  • 245 - New password must be different - if old_password = new_password.
  • 248 - Wrong password - if old_password is wrong.

Last update: October 31, 2021