---
title: HistoryDelete
framework: swiftdata
role: symbol
role_heading: Protocol
path: swiftdata/historydelete
---

# HistoryDelete

An interface that enables a custom data store to delete items from the history of changes to its persisted models.

## Declaration

```swift
protocol HistoryDelete<Model> : Sendable
```

## Topics

### History deletion properites

- [changeIdentifier](swiftdata/historydelete/changeidentifier-swift.property.md)
- [changedPersistentIdentifier](swiftdata/historydelete/changedpersistentidentifier.md)
- [tombstone](swiftdata/historydelete/tombstone.md)
- [transactionIdentifier](swiftdata/historydelete/transactionidentifier-swift.property.md)

### Associated types

- [ChangeIdentifier](swiftdata/historydelete/changeidentifier-swift.associatedtype.md)
- [Model](swiftdata/historydelete/model.md)
- [TransactionIdentifier](swiftdata/historydelete/transactionidentifier-swift.associatedtype.md)

## Relationships

### Inherits From

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Conforming Types

- [DefaultHistoryDelete](swiftdata/defaulthistorydelete.md)

## See Also

### History life cycle

- [HistoryChange](swiftdata/historychange.md)
- [HistoryInsert](swiftdata/historyinsert.md)
- [HistoryToken](swiftdata/historytoken.md)
- [HistoryTransaction](swiftdata/historytransaction.md)
- [HistoryUpdate](swiftdata/historyupdate.md)
- [HistoryTombstone](swiftdata/historytombstone.md)
- [DefaultHistoryInsert](swiftdata/defaulthistoryinsert.md)
- [DefaultHistoryUpdate](swiftdata/defaulthistoryupdate.md)
- [DefaultHistoryDelete](swiftdata/defaulthistorydelete.md)
- [DefaultHistoryToken](swiftdata/defaulthistorytoken.md)
- [DefaultHistoryTransaction](swiftdata/defaulthistorytransaction.md)
