Skip to main content
This function and all other functions in this graphql sdk are deprecated. Please migrate to the new rest api.
This operation is only available on the server.

Required Permissions

  • access_pass:delete

Usage

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

const result = await whopSdk.accessPasses.deleteAccessPass({
	// The internal ID (tag) of the product to delete.
	id: "xxxxxxxxxxx" /* Required! */,
});

Example output

const result = true;