# ResourceDeleted

Output payload for the resource-deleted platform event.

> Kind: Apex type · Updated: 2026-07-01

Custom Apex type representing the output that Platform Events and the Platform Events Apex Handler return for the resource-deleted platform event type. Retrieve it via Client.getEventDetails().

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | <a href="#/apex-type-resource">Resource</a> | optional | The deleted resource as a Resource. |
| RecordId | String | optional | Salesforce Record Id. |
| UserId | String | optional | Salesforce User Id. |
