videosphere
    Preparing search index...
    • Updates the authenticated user's display name, email address, and/or platform defaults.

      Parameters

      • req: NextRequest

        The incoming request object.

      Returns Promise<NextResponse<User> | NextResponse<{ error: string }>>

      The updated user profile or a validation error.