Skip to main content
POST
/
user
/
update-password
Update Password
curl --request POST \
  --url https://jamquest-dev.techboo.net/api/v1/user/update-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>",
  "new_password": "<string>",
  "new_password_confirmation": "<string>"
}
'
{
  "status": "ok",
  "data": {
    "message": "Password updated successfully"
  }
}

Authorizations

Authorization
string
header
required

Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.

Body

application/json
current_password
string<password>
required

The user's current password.

new_password
string<password>
required

The user's new password.

new_password_confirmation
string<password>
required

Confirmation of the new password.

Response

200 - application/json

Password updated successfully

status
string
Example:

"ok"

data
object