POST
/
auth
/
change-password
curl --request POST \
  --url https://staging.api.mavapay.co/api/v1/auth/change-password \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "oldPassword": "password",
  "newPassword": "password"
}'
{
  "status": "success",
  "message": "Password changed successfully"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

200
application/json

Password changed successfully

The response is of type object.