Docs Rizler

Lessons

Delete Lesson

DELETEhttps://app.rizzdial.com/api/knowledge-hub/lessons/delete/{id}
Delete Lesson
curl --request DELETE \
  --url https://app.rizzdial.com/api/knowledge-hub/lessons/delete/<id> \
  --header 'Authorization: Bearer <token>'
{
  "message": "Lesson deleted successfully.",
  "success": true
}

Delete Lesson#

Deletes the lesson. Requires manage-knowledge-hub-lessons.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

idstringpathrequired

Base64 id from the matching list or builder. A raw numeric id is also accepted.

curl --request DELETE \
  --url https://app.rizzdial.com/api/knowledge-hub/lessons/delete/MQ== \
  --header 'Authorization: Bearer {{bearer_token}}'
messagestring

Lesson deleted successfully.