POST
/
api
/
change-password
curl --request POST \
  --url http:///%7B{base_url}%7D/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
headerrequired

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

Body

application/json ยท object

The body is of type object.

Response

200 - application/json

The response is of type object.