Skip to main content
Fires when a user is removed from an account. Use this event to track team changes and understand user churn at the account level.

JavaScript

window._upstack('track', 'user_removed', {
  userId: 'usr_xyz789',
  accountId: 'acct_abc123',
  userEmail: 'removed@acme.com',
  removedByUserId: 'usr_admin123',
  removalReason: 'left_company'
});

Properties

PropertyTypeRequiredDescription
userIdstringYesRemoved user identifier
accountIdstringYesAccount identifier
userEmailstringNoRemoved user’s email address
removedByUserIdstringNoAdmin who removed the user
removalReasonstringNoReason for removal (left_company, role_change, security, inactive)

When to Fire

  • When admin removes user from team
  • When user access is revoked
  • When user is deactivated from account