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" }
Password changed successfully
The response is of type object.
object