JavaScript
Properties
When to Fire
- When admin removes user from team
- When user access is revoked
- When user is deactivated from account
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a user is removed from an account.
window._upstack('track', 'user_removed', {
userId: 'usr_xyz789',
accountId: 'acct_abc123',
userEmail: 'removed@acme.com',
removedByUserId: 'usr_admin123',
removalReason: 'left_company'
});
| Property | Type | Required | Description |
|---|---|---|---|
| userId | string | Yes | Removed user identifier |
| accountId | string | Yes | Account identifier |
| userEmail | string | No | Removed user’s email address |
| removedByUserId | string | No | Admin who removed the user |
| removalReason | string | No | Reason for removal (left_company, role_change, security, inactive) |
Was this page helpful?