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