Javascript
import Courier from '@trycourier/courier'; const client = new Courier({ apiKey: 'My API Key', }); await client.users.tenants.removeSingle('tenant_id', { user_id: 'user_id' });
Removes a user from the supplied tenant.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Id of the user to be removed from the supplied tenant.
Id of the tenant the user should be removed from.