import Whop from '@whop/sdk';const client = new Whop({ apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted});const webhook = await client.webhooks.delete('hook_xxxxxxxxxxxxx');console.log(webhook);
Copy
Ask AI
true
Webhooks
Delete webhook
Deletes a webhook
Required permissions:
developer:manage_webhook
DELETE
/
webhooks
/
{id}
JavaScript
Copy
Ask AI
import Whop from '@whop/sdk';const client = new Whop({ apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted});const webhook = await client.webhooks.delete('hook_xxxxxxxxxxxxx');console.log(webhook);