Skip to main content
POST
/
api
/
change-password
Change Password
curl --request POST \
  --url 'http://{{base_url}}/api/change-password' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "{{user_password}}",
  "new_password": "ccddssfs4fefssasf"
}
'
{
  "message": "User changed password successful"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.