Required Permissions
courses:update
courses:update
import { whopSdk } from "@/lib/whop-sdk";
const result = await whopSdk.courses.deleteLesson({
// The ID of the lesson to delete
id: "xxxxxxxxxxx" /* Required! */,
});
const result = true;
Was this page helpful?