Profile

Change Password

Changed on

Changes the currently logged-in user's password.

post/v1/auth/me/change-password

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/v1/auth/me/change-password
  • Auth: HTTP bearer

Request body

current_passwordstring required
new_passwordstring required

Example request

{
  "current_password": "OldSecretPassword123!",
  "new_password": "NewSecretPassword123!"
}

Response

Password changed successfully

messagestring required

Example response

{
  "message": "password changed successfully"
}

Changes