v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-21149158448.6 KB
Teams
auth

Change Password

Change the current user's password.

Verifies the current password, updates to the new password, clears the password_change_required flag, and returns a fresh JWT.

Args: request: Change password request with current and new passwords response: FastAPI response object to set cookies claims: JWT claims from middleware user_manager: FastAPI Users user manager session: Database session

Returns: JWT token response with access_token and token_type

Raises: UnauthenticatedException: If current password is invalid BadRequestException: If new password is same as current or invalid

post/v1/auth/change-password

Request body

current_passwordstring required
new_passwordstring required

Response

Successful Response

object required