Removes a resource from a lesson.
DELETE
/lesson-resources/{resourceId}
curl \
--request DELETE 'http://localhost:8080/api/lesson-resources/{resourceId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2026-05-04T09:42:00Z"
}
Response examples (404)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2026-05-04T09:42:00Z"
}
Response examples (500)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2026-05-04T09:42:00Z"
}