# Update online lesson **PATCH /api/v1/online-lesson/{id}** Update details of an online lesson such as schedule, meeting link, title, or duration. Only admins and lecturers can update online lessons. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **id** (string) UUID of the online lesson to update ### Body: application/json (object) Online lesson data to update - **title** (string) - **description** (string) - **scheduledAt** (string(date-time)) - **duration** (number) Duration in minutes - **meetingLink** (string) - **meetingPassword** (string) - **recordingLink** (string) ## Responses ### 200 Online lesson updated successfully ### 400 Invalid lesson data provided ### 403 Forbidden - Admin or Lecturer role required ### 404 Online lesson not found [Powered by Bump.sh](https://bump.sh)