CourseLit logoCourseLit Docs
Api reference

Delete a product lesson

DELETE
/api/products/{productId}/lessons/{lessonId}

Authorization

ApiKeyAuth
x-api-key<token>

API key created in CourseLit dashboard settings. The legacy apikey request-body field is still accepted but deprecated.

In: header

Path Parameters

productId*string
lessonId*string

Response Body

application/json

application/json

curl -X DELETE "https://school.courselit.app/api/products/string/lessons/string"
{
  "ok": true
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}