authentication
Authentication

Change Password

Change current user password.

Args: request: Password change data current_user: Current authenticated user session: Database session

Raises: NotFoundError: If user not found UnauthorizedError: If old password is invalid BadRequestError: If new password is too weak

post/api/v1/auth/change-password

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/auth/change-password
  • Auth: none declared

Headers

Authorizationstring

Request body

old_passwordstring required
new_passwordstring required

Response

Successful Response

Changes

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