Skip to main content
The 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

FieldTypeDescription
idstringUnique identifier of the deleted record
locationIdstringSub-account ID where the record existed
ownersarray<string>User IDs that were assigned as owners of this record at deletion time
followersarray<string>User IDs that were following this record at deletion time
propertiesarray<object>Field values the record held at deletion time, each as a { key, value } pair
properties[].keystringThe property key as defined in the object schema
properties[].valueanyThe value the property held at deletion time
timestampstringISO 8601 timestamp of when the deletion occurred

Example payload

{
  "id": "67a349a79b28947ec1f65bb5",
  "locationId": "eHy2cOSZxMQzQ6Yyvl8P",
  "owners": ["YlWd2wuCAZQzh2cH1fVZ"],
  "followers": [],
  "properties": [
    { "key": "pet_name", "value": "buddy" }
  ],
  "timestamp": "2024-04-01T00:00:00.000Z"
}
Last modified on March 4, 2026