Skip to main content
DELETE
/
lists
/
{list_id}
/
subscriptions
/
{user_id}
JavaScript
import Courier from '@trycourier/courier';

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

await client.lists.subscriptions.unsubscribeUser('user_id', { list_id: 'list_id' });
This response has no body data.

Authorizations

Authorization
string
header
required

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

Path Parameters

list_id
string
required

A unique identifier representing the list you wish to retrieve.

user_id
string
required

A unique identifier representing the recipient associated with the list