Skip to main content
DELETE
/
v1
/
subscriptions
/
plans
/
{plan_id}
/
entitlements
/
{feature_id}
JavaScript
import Hercules from '@usehercules/sdk';

const client = new Hercules({
  apiVersion: '2025-12-09',
  apiKey: process.env['HERCULES_API_KEY'], // This is the default and can be omitted
});

await client.beta.subscriptions.plans.entitlements.remove('feature_id', { plan_id: 'plan_id' });

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header as: Bearer

Path Parameters

plan_id
string
required
feature_id
string
required

Response

204

Entitlement successfully removed from plan