Skip to main content

Remove seats

Only unassigned seats can be removed.

danger

If you are receiving payment for your subscription, do not modify subscriptions directly through Stripe. Always manage them through the Salable API/SDKs to avoid issues.

import { Salable } from '@salable/node-sdk';

const salable = new Salable('your-salable-api-key', 'v2');
await salable.subscriptions.removeSeats('your-subscription-uuid', {
decrement: 2,
});
caution

Ensure that the number of seats being removed doesn't take the number of active seats below the minimum set on the plan.