This operation is only available on the server.
Required Permissions
Usage
import { whopSdk } from "@/lib/whop-sdk";
const result = await whopSdk.promoCodes.deletePromoCode({
// The internal ID of the promo code to archive.
id: "xxxxxxxxxxx" /* Required! */,
});
Example output