Update a lesson (admin+).
curl --request PATCH \
--url https://tryno.io/api/lessons/{lessonId} \
--cookie __session=const options = {method: 'PATCH', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/lessons/{lessonId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/lessons/{lessonId}"
headers = {"cookie": "__session="}
response = requests.patch(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}courses
Update a lesson (admin+).
PATCH
/
lessons
/
{lessonId}
Update a lesson (admin+).
curl --request PATCH \
--url https://tryno.io/api/lessons/{lessonId} \
--cookie __session=const options = {method: 'PATCH', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/lessons/{lessonId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/lessons/{lessonId}"
headers = {"cookie": "__session="}
response = requests.patch(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
