Skip to main content
DELETE
/
users
/
{user_id}
/
tenants
JavaScript
import Courier from '@trycourier/courier';

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

await client.users.tenants.removeAll('user_id');

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

Id of the user to be removed from the supplied tenant.