Update a user’s profile.
Access control:
Args: user_id: The user ID to update user_data: Update data (email, first_name, last_name) principal: The authenticated principal service: User service db: Database session
Returns: Updated user profile data
Raises: HTTPException: If access denied or user not found
Platform token (starts with pat_)
Successful Response
Schema for reading user data (response).
Get user status based on password presence.