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.users.tokens.delete('token', { user_id: 'user_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.users.tokens.delete('token', { user_id: 'user_id' });Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The user's ID. This can be any uniquely identifiable string.
The full token string.