Remove changelog subscribers
client.changelogs.subscribers.remove(SubscriberRemoveParams { emails, featurebaseVersion } params, RequestOptionsoptions?): SubscriberRemoveResponse { count, object }
DELETE/v2/changelogs/subscribers
Removes email addresses from changelog subscribers in bulk.
Removed subscribers will no longer receive email notifications when new changelogs are published.
Request Body
emails- Array of email addresses to remove (required, 1-1000 emails)
Email Handling
- Emails that don’t exist as subscribers are silently ignored
- Emails are normalized (trimmed, lowercased) before matching
Response
Returns a confirmation with the count of processed emails:
{
"object": "changelog_subscribers_removal",
"count": 150
}
Errors
400- Invalid request (empty emails array, too many emails)
Remove changelog subscribers
import Featurebase from 'featurebase-node';
const client = new Featurebase({
apiKey: process.env['FEATUREBASE_API_KEY'], // This is the default and can be omitted
});
const subscriber = await client.changelogs.subscribers.remove({
emails: ['john@example.com', 'jane@example.com'],
});
console.log(subscriber.count);{
"count": 150,
"object": "changelog_subscribers_removal"
}Returns Examples
{
"count": 150,
"object": "changelog_subscribers_removal"
}