Skip to navigation

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 password
  • password (required) — New password
  • password_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_passwordstringOptional
passwordstringOptional
password_confirmationstringOptional

Response

OK