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.tenants.removeSingle('tenant_id', { user_id: 'user_id' });Removes a user from the supplied tenant.
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.tenants.removeSingle('tenant_id', { user_id: 'user_id' });Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Id of the user to be removed from the supplied tenant.
Id of the tenant the user should be removed from.