---
schema_version: "1"
id: 39189e2a69fe56c67c3ebb07111a9f191ad080f5e285f53f43936a4de61b24fa
title: DeleteEvent
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_deleteevent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_deleteevent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a5e82d7d222a2ba3a3aa1fd85b2febd7d0969e00117408bce01a1820caad6972
description: 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

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()](https://developer.salesforce.com/docs/atlas.en-us.264.0.api.meta/api/sforce_api_calls_emptyrecyclebin.htm "HTML (New Window)") 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.



 |