RecordDelete event fires whenever a custom object record is permanently removed from a sub-account. The payload captures the record’s state at the time of deletion, including its ID, property values, owners, and followers. Use this event to clean up related data in external systems, cascade deletions, or maintain deletion audit logs.
Payload
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier of the deleted record |
locationId | string | Sub-account ID where the record existed |
owners | array<string> | User IDs that were assigned as owners of this record at deletion time |
followers | array<string> | User IDs that were following this record at deletion time |
properties | array<object> | Field values the record held at deletion time, each as a { key, value } pair |
properties[].key | string | The property key as defined in the object schema |
properties[].value | any | The value the property held at deletion time |
timestamp | string | ISO 8601 timestamp of when the deletion occurred |
Example payload
Related
- Record Create — fires when a new record is created
- Objects API — manage custom object schemas and records
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)