---
title: CKRecord.ReferenceAction.deleteSelf
framework: cloudkit
role: symbol
role_heading: Case
path: cloudkit/ckrecord/referenceaction/deleteself
---

# CKRecord.ReferenceAction.deleteSelf

A reference action that cascades deletions.

## Declaration

```swift
case deleteSelf
```

## Discussion

Discussion CloudKit deletes any records that contain CKReference objects pointing to the current record. The deletion of the additional records can trigger further deletions as the action cascades. The deletions are asynchronous in the default zone and immediate in a custom zone.

## See Also

### Deletion Reference Actions

- [CKRecord.ReferenceAction.none](cloudkit/ckrecord/referenceaction/none.md)
