# Change Password Change the current user's password. **Endpoint**: `PUT /api/auth/password` **Auth**: Required **Content-Type**: `application/json` ## Request Body | Field | Type | Required | Description | |--------|------|-----------|-------------| | current_password | string | Yes | Current password | | new_password | string | Yes | New password (min 8 chars) | ### Example Request ```json { "current_password": "oldPassword", "new_password": "NewSecureP@ss123!" } ``` ## Response (204 No Content) Password changed successfully. ## Error Responses | Code | Description | |------|-------------| | 400 | Invalid input or weak password | | 401 | Current password is incorrect | | 401 | Invalid or expired token | ## Try It Out