Change password (/change) Print

  • change, password, user
  • 0

The day will come when you will need to change your password and that is the reason we implemented this method.

To change your password just send a PUT request to whith this JSON payload:

	"password": "my_new_password"

As an example, this is how you can do it with curl:

curl --location --request PUT '' \
--header 'Content-Type: application/json' \
--header 'x-access-token: {{token}}' \
--data-raw '{
	"password": "my_password"

And if everything went as expected, you should get a response like the one below:

    "status": "success",
    "data": {
        "message": "Your password has been changed successfully."

Was this answer helpful?

« Back