Skip to main content
This function and all other functions in this graphql sdk are deprecated. Please migrate to the new rest api.

Required Permissions

  • courses:update

Usage

import { whopSdk } from "@/lib/whop-sdk";

const result = await whopSdk.courses.deleteChapter({
	// The ID of the chapter to delete
	id: "xxxxxxxxxxx" /* Required! */,
});

Example output

const result = true;