Skip to main content
PATCH
Update lesson

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

product
integer
required

Product ID

lesson
integer
required

Lesson ID

Body

application/json
name
string
Maximum string length: 255
text
string | null

Up to 4000 characters without tags

active
boolean
access_time
object

When the lesson opens

settings
object

Lesson-open notification settings

Response

Updated lesson

data
object