import Whop from '@whop/sdk';
const client = new Whop({
apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted
});
const experience = await client.experiences.delete('exp_xxxxxxxxxxxxxx');
console.log(experience);
Copy
Ask AI
true
Experiences
Delete experience
Required permissions:
experience:delete
DELETE
/
experiences
/
{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 experience = await client.experiences.delete('exp_xxxxxxxxxxxxxx');
console.log(experience);