Skip to main content
Describes audit events for account access and changes to products, licenses, customers, and other resources.

Structure

Login As Events

A dashboard “Login as” event uses ResourceType 7 (Account) and ResourceAction 4 (LoginAs). PerformedByUserId identifies the admin who initiated the switch. ObjectOwnerUserId and AffectedObjectId identify the account accessed, and Created records the time of the switch. Data is null for these events. Existing resource and action values retain their meanings. Clients should allow for additional values in future responses.

Access Token Events

Access token events use ResourceType 8 (AccessToken) with ResourceAction 1 (Added) or 3 (Deleted). AffectedObjectId is the access token ID, ObjectOwnerUserId identifies its account, and PerformedByUserId identifies the user who performed the action. These events cover dashboard access token creation and removal, successful connected-app authorization, and revocation through the dashboard. Data contains the access token’s Name, GeneratorType, Created, Expires, and Scopes, including permission flags and resource locks. Created inside Data is the access token’s creation date; Expires is its lifetime in days from that date, with 0 meaning no expiration. No access token values, hashes, or user profiles are included. The snapshot remains available after deletion. External API and third-party access token generation, temporary session access tokens, automatic cleanup, and failed connection attempts are not recorded by this feature. Audit writes are best effort and do not block access token operations. View the original Web API reference