Update Lesson#
Updates a lesson. description is stored as content. If only lesson_thumbnail is sent (no title), the thumbnail is replaced (jpeg/png/jpg/gif, max 10 MB) and the response is { thumbnail_url }. A full update accepts a 2 MB thumbnail. Requires manage-knowledge-hub-lessons.
Bearer token in the format: Bearer {access_token}
Base64 id from the matching list or builder. A raw numeric id is also accepted.
Required for a full update. Max 255 characters
Stored as content
published or draft. Required for a full update
enabled, hidden, or locked. Required for a full update
Optional thumbnail
curl --request PUT \
--url https://app.rizzdial.com/api/knowledge-hub/lessons/update/MQ== \
--header 'Authorization: Bearer {{bearer_token}}' \
--form 'title=Welcome' \
--form 'status=published' \
--form 'comment_status=enabled'Lesson updated successfully. or Thumbnail uploaded successfully.
Updated lesson with base64 id, or { thumbnail_url } for thumbnail-only
POST /api/knowledge-hub/lessons/update/{id} is the same endpoint.