User Profile

Update Password

Change the authenticated user's password.

put/api/v1/user/password

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v1/user/password
  • Auth: HTTP bearer

Request body

current_passwordstring required

The current password.

passwordstring required

The new password (min 8 chars).

password_confirmationstring required

Must match password.

Example request

{
  "current_password": "oldpassword",
  "password": "newpassword123",
  "password_confirmation": "newpassword123"
}

Response

messagestring

Example response

{
  "message": "Password updated successfully."
}

Changes

No recorded changes to this operation across all 1 revision of this API.