Skip to main content
DELETE
/
tenants
/
{tenant_id}
/
default_preferences
/
items
/
{topic_id}
JavaScript
import Courier from '@trycourier/courier';

const client = new Courier({
  apiKey: 'My API Key',
});

await client.tenants.preferences.items.delete('topic_id', { tenant_id: 'tenant_id' });

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenant_id
string
required

Id of the tenant to update the default preferences for.

topic_id
string
required

Id fo the susbcription topic you want to have a default preference for.