Events: Vault

Learn about the types of vault events.

Events

The following vault events exist:

  • vault-account-create
  • vault-account-update
  • vault-account-delete
  • vault-account-credential-update
  • vault-account-user-create
  • vault-account-user-update
  • vault-account-user-delete
  • vault-account-session-create
  • vault-user-create
  • vault-user-update
  • vault-user-delete

Most events carry an object type of the same name listed below (e.g. vault-user-create carries the object VaultUserCreate). Any exceptions to this are described below.

vault-account-*

These events are triggered when a change is made to a social account within the Vault such as updating a description.

vault-account-credential-update

This is specifcially for password updates or a Facebook account type change. It carries VaultAccountUpdate objects.

vault-account-user-*

These events are triggered when a Khoros user has been granted or ungranted access to a Vault account.

vault-account-session-create

Anytime a Sprefast user logs into a Vault account, a VaultAccountEvent is emitted onto this event.

vault-user-*

These events are triggered when adding or removing a Khoros user to/from the Vault.

Objects

VaultAccountEvent

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.

VaultAccountUpdate

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
changestring

Example: Requiring an access reason.
A description of the update performed.

VaultAccountUserCreate

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
accessLevelstringThe level of access the target user has on the account.
targetDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.

VaultAccountUserDelete

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
targetDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.

VaultAccountUserUpdate

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
changestring

Example: Requiring an access reason.
A description of the update performed.

VaultUserCreate

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
targetDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
rolestring

Example: ADMINISTRATOR
The target user's role across the Vault.

VaultUserDelete

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
targetDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.

VaultUserUpdate

FieldTypeDescription
directoryCompanyIdnumber

Format: int64
The Khoros Marketing internal ID for the company.
createdDatestring

Format: date-time
actorDirectoryUserIdnumber

Format: int64
The ID of the user within Khoros Marketing.
changestring

Example: Requiring an access reason.
A description of the update performed.