import Courier from '@trycourier/courier';const client = new Courier({ apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted});await client.tenants.preferences.items.delete('topic_id', { tenant_id: 'tenant_id' });
Tenants
Remove Default Preferences For Topic
DELETE
/
tenants
/
{tenant_id}
/
default_preferences
/
items
/
{topic_id}
JavaScript
Copy
Ask AI
import Courier from '@trycourier/courier';const client = new Courier({ apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted});await client.tenants.preferences.items.delete('topic_id', { tenant_id: 'tenant_id' });