Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DeleteEvent

Represents a record that has been soft deleted. Search on this object was available in API version 48.0, then removed in API version 50.0.

DeleteEvent is a read-only object. You can't create, update, or delete it directly. To create a DeleteEvent record, soft delete a record of another type, like an Account. To remove a DeleteEvent record, use the emptyRecycleBin() API or hard delete the corresponding Record.

Supported Calls

describeSObjects(), query(), retrieve()

Fields

Field Details
DeletedById
Type
reference
Properties
Filter, Group, Sort
Description
The ID of the user who deleted the record.
This is a relationship field.
Relationship Name
DeletedBy
Relationship Type
Lookup
Refers To
User
DeletedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date and time when the record was deleted.
Record
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The ID of the record that was deleted.
RecordName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the record that was deleted.
SobjectName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The type of record that was deleted, for example, Account.