Change Password (Authenticated)
Change the password for the currently authenticated user. Requires the current password for verification.
Authentication: Required — Bearer token.
Request body:
current_password(required) — The user’s current passwordpassword(required) — New passwordpassword_confirmation(required) — Must match the new password
Response:
message— “Password updated successfully.”
Errors:
422— Current password is incorrect, or new password validation failed (e.g. confirmation mismatch)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
current_password
password
password_confirmation
Response
OK