Skip to main content
POST
/
api
/
auth
/
update-password
Update password
curl --request POST \
  --url https://payments.oaknetwork.org/api/auth/update-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_password": "<string>",
  "reset_password_token": "<string>"
}
'
{
  "msg": "Password Updated Successfully!",
  "data": null
}

Body

application/json
new_password
string
required

The new password to set

reset_password_token
string
required

Reset password token from email

Response

Password updated successfully

msg
string
required

Human-readable message describing the result

data
any
required

Response payload (null on error)