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' });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' });Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Id of the tenant to update the default preferences for.
Id of the subscription topic you want to have a default preference for.